How To Install libhtml-linklist-perl on Debian 11
Introduction
In this tutorial we learn how to install libhtml-linklist-perl
on Debian 11.
What is libhtml-linklist-perl
libhtml-linklist-perl is:
HTML::LinkList contains a number of functions for taking sets of URLs and labels and creating suitably formatted HTML. These links are “smart” because, if given the url of the current page, if any of the links in the list equal it, that item in the list will be formatted as a special label, not as a link; this is a Good Thing, since the user would be confused by clicking on a link back to the current page.
While many website systems have plugins for “smart” navbars, they are specialized for that system only, and can’t be reused elsewhere, forcing people to reinvent the wheel. This is one of the wheels, free to be reused by anybody; just the simple functions, a backend, which can be plugged into whatever system you want.
The default format for the HTML is to make an unordered list, but there are many options, enabling one to have a flatter layout with any separators you desire, or a more complicated list with differing formats for different levels.
There are three methods to install libhtml-linklist-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libhtml-linklist-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 libhtml-linklist-perl
using apt-get
by running the following command:
sudo apt-get -y install libhtml-linklist-perl
Install libhtml-linklist-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libhtml-linklist-perl
using apt
by running the following command:
sudo apt -y install libhtml-linklist-perl
Install libhtml-linklist-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 libhtml-linklist-perl
using aptitude
by running the following command:
sudo aptitude -y install libhtml-linklist-perl
How To Uninstall libhtml-linklist-perl on Debian 11
To uninstall only the libhtml-linklist-perl
package we can use the following command:
sudo apt-get remove libhtml-linklist-perl
Uninstall libhtml-linklist-perl And Its Dependencies
To uninstall libhtml-linklist-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libhtml-linklist-perl
Remove libhtml-linklist-perl Configurations and Data
To remove libhtml-linklist-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libhtml-linklist-perl
Remove libhtml-linklist-perl configuration, data, and all of its dependencies
We can use the following command to remove libhtml-linklist-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhtml-linklist-perl
Dependencies
libhtml-linklist-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libhtml-linklist-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.