How To Install libcrypt-simple-perl on Debian 9
Introduction
In this tutorial we learn how to install libcrypt-simple-perl
on Debian 9.
What is libcrypt-simple-perl
libcrypt-simple-perl is:
Maybe you have a web application and you need to store some session data at the client side (in a cookie or hidden form fields) but you don’t want the user to be able to mess with the data. Maybe you want to save secret information to a text file. Maybe you have better ideas of what to do with encrypted stuff!
The Crypt::Simple module will convert all your data into nice base64 text that you can save in a text file, send in an email, store in a cookie or web page, or bounce around the Net. The data you encrypt can be as simple or as complicated as you like.
There are three methods to install libcrypt-simple-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcrypt-simple-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcrypt-simple-perl
using apt-get
by running the following command:
sudo apt-get -y install libcrypt-simple-perl
Install libcrypt-simple-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcrypt-simple-perl
using apt
by running the following command:
sudo apt -y install libcrypt-simple-perl
Install libcrypt-simple-perl 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 libcrypt-simple-perl
using aptitude
by running the following command:
sudo aptitude -y install libcrypt-simple-perl
How To Uninstall libcrypt-simple-perl on Debian 9
To uninstall only the libcrypt-simple-perl
package we can use the following command:
sudo apt-get remove libcrypt-simple-perl
Uninstall libcrypt-simple-perl And Its Dependencies
To uninstall libcrypt-simple-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libcrypt-simple-perl
Remove libcrypt-simple-perl Configurations and Data
To remove libcrypt-simple-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libcrypt-simple-perl
Remove libcrypt-simple-perl configuration, data, and all of its dependencies
We can use the following command to remove libcrypt-simple-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcrypt-simple-perl
Dependencies
libcrypt-simple-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcrypt-simple-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.