How To Install libpetal-utils-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libpetal-utils-perl
on Ubuntu 18.04.
What is libpetal-utils-perl
libpetal-utils-perl is:
Petal::Utils contains commonly used Petal modifiers (or plugins), and bundles them with an easy-to-use installation interface.
Petal is an XML based templating engine that is able to process any kind of XML, XHTML and HTML.
There are three methods to install libpetal-utils-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 libpetal-utils-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 libpetal-utils-perl
using apt-get
by running the following command:
sudo apt-get -y install libpetal-utils-perl
Install libpetal-utils-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpetal-utils-perl
using apt
by running the following command:
sudo apt -y install libpetal-utils-perl
Install libpetal-utils-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 libpetal-utils-perl
using aptitude
by running the following command:
sudo aptitude -y install libpetal-utils-perl
How To Uninstall libpetal-utils-perl on Ubuntu 18.04
To uninstall only the libpetal-utils-perl
package we can use the following command:
sudo apt-get remove libpetal-utils-perl
Uninstall libpetal-utils-perl And Its Dependencies
To uninstall libpetal-utils-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libpetal-utils-perl
Remove libpetal-utils-perl Configurations and Data
To remove libpetal-utils-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libpetal-utils-perl
Remove libpetal-utils-perl configuration, data, and all of its dependencies
We can use the following command to remove libpetal-utils-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpetal-utils-perl
References
Summary
In this tutorial we learn how to install libpetal-utils-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.