How To Install liburi-todisk-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install liburi-todisk-perl
on Ubuntu 20.04.
What is liburi-todisk-perl
liburi-todisk-perl is:
URI::ToDisk is a Perl module which provides an object that can easily map between Uniform Resource Identifiers (URIs) and on-disk storage. In several processes relating to working with the web, one may need to keep track of an area on disk which maps to a particular URI.
Using this information, the module can derive both a filesystem path and URI for any file or directory in this location that one might need to work with.
There are three methods to install liburi-todisk-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 liburi-todisk-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 liburi-todisk-perl
using apt-get
by running the following command:
sudo apt-get -y install liburi-todisk-perl
Install liburi-todisk-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liburi-todisk-perl
using apt
by running the following command:
sudo apt -y install liburi-todisk-perl
Install liburi-todisk-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 liburi-todisk-perl
using aptitude
by running the following command:
sudo aptitude -y install liburi-todisk-perl
How To Uninstall liburi-todisk-perl on Ubuntu 20.04
To uninstall only the liburi-todisk-perl
package we can use the following command:
sudo apt-get remove liburi-todisk-perl
Uninstall liburi-todisk-perl And Its Dependencies
To uninstall liburi-todisk-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove liburi-todisk-perl
Remove liburi-todisk-perl Configurations and Data
To remove liburi-todisk-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge liburi-todisk-perl
Remove liburi-todisk-perl configuration, data, and all of its dependencies
We can use the following command to remove liburi-todisk-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liburi-todisk-perl
References
Summary
In this tutorial we learn how to install liburi-todisk-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.