Introduction
In this tutorial we learn how to install libdirectory-scratch-structured-perl
on Ubuntu 20.04.
What is libdirectory-scratch-structured-perl
libdirectory-scratch-structured-perl is:
Directory::Scratch::Structured extends the Directory::Scratch module by
adding a create_structured_tree subroutine, which can accept an Array or an
Hash as arguments, creating files or directories, respectively.
There are three methods to install libdirectory-scratch-structured-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 libdirectory-scratch-structured-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 libdirectory-scratch-structured-perl
using apt-get
by running the following command:
sudo apt-get -y install libdirectory-scratch-structured-perl
Install libdirectory-scratch-structured-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdirectory-scratch-structured-perl
using apt
by running the following command:
sudo apt -y install libdirectory-scratch-structured-perl
Install libdirectory-scratch-structured-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 libdirectory-scratch-structured-perl
using aptitude
by running the following command:
sudo aptitude -y install libdirectory-scratch-structured-perl
How To Uninstall libdirectory-scratch-structured-perl on Ubuntu 20.04
To uninstall only the libdirectory-scratch-structured-perl
package we can use the following command:
sudo apt-get remove libdirectory-scratch-structured-perl
Uninstall libdirectory-scratch-structured-perl And Its Dependencies
To uninstall libdirectory-scratch-structured-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdirectory-scratch-structured-perl
Remove libdirectory-scratch-structured-perl Configurations and Data
To remove libdirectory-scratch-structured-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdirectory-scratch-structured-perl
Remove libdirectory-scratch-structured-perl configuration, data, and all of its dependencies
We can use the following command to remove libdirectory-scratch-structured-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdirectory-scratch-structured-perl
References
- libdirectory-scratch-structured-perl website
- libdirectory-scratch-structured-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libdirectory-scratch-structured-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.