How To Install libsuper-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libsuper-perl
on Ubuntu 18.04.
What is libsuper-perl
libsuper-perl is:
SUPER allows one to dispatch control to the superclass with a better syntax than the original mechanism. It provides an universal method super to determine a class’ own superclass. SUPER allows the use of mixin and roles as the class containing the method is no more needed at compile time.
There are three methods to install libsuper-perl
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libsuper-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 libsuper-perl
using apt-get
by running the following command:
sudo apt-get -y install libsuper-perl
Install libsuper-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsuper-perl
using apt
by running the following command:
sudo apt -y install libsuper-perl
Install libsuper-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libsuper-perl
using aptitude
by running the following command:
sudo aptitude -y install libsuper-perl
How To Uninstall libsuper-perl on Ubuntu 18.04
To uninstall only the libsuper-perl
package we can use the following command:
sudo apt-get remove libsuper-perl
Uninstall libsuper-perl And Its Dependencies
To uninstall libsuper-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libsuper-perl
Remove libsuper-perl Configurations and Data
To remove libsuper-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libsuper-perl
Remove libsuper-perl configuration, data, and all of its dependencies
We can use the following command to remove libsuper-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsuper-perl
References
Summary
In this tutorial we learn how to install libsuper-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.