How To Install libversion-next-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libversion-next-perl
on Ubuntu 20.04.
What is libversion-next-perl
libversion-next-perl is:
Version::Next provides a simple, correct way to increment a Perl module version number. It does not attempt to guess what the original version number author intended, it simply increments in the smallest possible fashion. Decimals are incremented like an odometer. Dotted decimals are incremented piecewise and presented in a standardized way.
If more complex version manipulation is necessary, you may wish to consider Perl::Version.
There are three methods to install libversion-next-perl
on Ubuntu 20.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 libversion-next-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 libversion-next-perl
using apt-get
by running the following command:
sudo apt-get -y install libversion-next-perl
Install libversion-next-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libversion-next-perl
using apt
by running the following command:
sudo apt -y install libversion-next-perl
Install libversion-next-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 libversion-next-perl
using aptitude
by running the following command:
sudo aptitude -y install libversion-next-perl
How To Uninstall libversion-next-perl on Ubuntu 20.04
To uninstall only the libversion-next-perl
package we can use the following command:
sudo apt-get remove libversion-next-perl
Uninstall libversion-next-perl And Its Dependencies
To uninstall libversion-next-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libversion-next-perl
Remove libversion-next-perl Configurations and Data
To remove libversion-next-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libversion-next-perl
Remove libversion-next-perl configuration, data, and all of its dependencies
We can use the following command to remove libversion-next-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libversion-next-perl
References
Summary
In this tutorial we learn how to install libversion-next-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.