How To Install node-base64id on Debian 11
Introduction
In this tutorial we learn how to install node-base64id
on Debian 11.
What is node-base64id
node-base64id is:
Node.js module that generates a base64 id. It uses crypto.randomBytes when available, but falls back to unsafe methods for node.js <= 0.4.
To increase performance, random bytes are buffered to minimize the number of synchronous calls to crypto.randomBytes.
There are three methods to install node-base64id
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install node-base64id Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install node-base64id
using apt-get
by running the following command:
sudo apt-get -y install node-base64id
Install node-base64id Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install node-base64id
using apt
by running the following command:
sudo apt -y install node-base64id
Install node-base64id Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install node-base64id
using aptitude
by running the following command:
sudo aptitude -y install node-base64id
How To Uninstall node-base64id on Debian 11
To uninstall only the node-base64id
package we can use the following command:
sudo apt-get remove node-base64id
Uninstall node-base64id And Its Dependencies
To uninstall node-base64id
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove node-base64id
Remove node-base64id Configurations and Data
To remove node-base64id
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge node-base64id
Remove node-base64id configuration, data, and all of its dependencies
We can use the following command to remove node-base64id
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge node-base64id
Dependencies
node-base64id have the following dependencies:
References
Summary
In this tutorial we learn how to install node-base64id
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.