How To Install libalgorithm-c3-perl on Debian 9
Introduction
In this tutorial we learn how to install libalgorithm-c3-perl on Debian 9.
What is libalgorithm-c3-perl
libalgorithm-c3-perl is:
The Algorithm::C3 module implements the C3 algorithm.
C3 is the name of an algorithm which aims to provide a sane method resolution order under multiple inheritence. It was first introduced in the language Dylan, and then later adopted as the preferred MRO (Method Resolution Order) for the new-style classes in Python 2.3. Most recently it has been adopted as the ‘canonical’ MRO for Perl 6 classes, and the default MRO for Parrot objects as well.
There are three methods to install libalgorithm-c3-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 libalgorithm-c3-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 libalgorithm-c3-perl using apt-get by running the following command:
sudo apt-get -y install libalgorithm-c3-perl
Install libalgorithm-c3-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libalgorithm-c3-perl using apt by running the following command:
sudo apt -y install libalgorithm-c3-perl
Install libalgorithm-c3-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 libalgorithm-c3-perl using aptitude by running the following command:
sudo aptitude -y install libalgorithm-c3-perl
How To Uninstall libalgorithm-c3-perl on Debian 9
To uninstall only the libalgorithm-c3-perl package we can use the following command:
sudo apt-get remove libalgorithm-c3-perl
Uninstall libalgorithm-c3-perl And Its Dependencies
To uninstall libalgorithm-c3-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libalgorithm-c3-perl
Remove libalgorithm-c3-perl Configurations and Data
To remove libalgorithm-c3-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libalgorithm-c3-perl
Remove libalgorithm-c3-perl configuration, data, and all of its dependencies
We can use the following command to remove libalgorithm-c3-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libalgorithm-c3-perl
Dependencies
libalgorithm-c3-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libalgorithm-c3-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.