How To Install libnet-trac-perl on Debian 9
Introduction
In this tutorial we learn how to install libnet-trac-perl on Debian 9.
What is libnet-trac-perl
libnet-trac-perl is:
Net::Trac is simple client library for a remote Trac instance. Because Trac doesn’t provide a web services API, this module currently “fakes” an RPC interface around Trac’s webforms and the feeds it exports. Because of this, it’s somewhat more brittle than a true RPC client would be.
As of now, this module has been tested against Trac 10.4 and Trac 11.0.
The author’s needs for this module are somewhat modest and its current featureset reflects this. Right now, only basic read/write functionality for Trac’s tickets is provided.
There are three methods to install libnet-trac-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libnet-trac-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 libnet-trac-perl using apt-get by running the following command:
sudo apt-get -y install libnet-trac-perl
Install libnet-trac-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libnet-trac-perl using apt by running the following command:
sudo apt -y install libnet-trac-perl
Install libnet-trac-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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libnet-trac-perl using aptitude by running the following command:
sudo aptitude -y install libnet-trac-perl
How To Uninstall libnet-trac-perl on Debian 9
To uninstall only the libnet-trac-perl package we can use the following command:
sudo apt-get remove libnet-trac-perl
Uninstall libnet-trac-perl And Its Dependencies
To uninstall libnet-trac-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libnet-trac-perl
Remove libnet-trac-perl Configurations and Data
To remove libnet-trac-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libnet-trac-perl
Remove libnet-trac-perl configuration, data, and all of its dependencies
We can use the following command to remove libnet-trac-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnet-trac-perl
Dependencies
libnet-trac-perl have the following dependencies:
- perl
- libdatetime-perl
- liburi-perl
- libwww-mechanize-perl
- libtext-csv-perl
- libwww-perl
- libparams-validate-perl
- libany-moose-perl
- liblingua-en-inflect-perl
References
Summary
In this tutorial we learn how to install libnet-trac-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.