How To Install libpackage-locator-perl on Debian 11
Introduction
In this tutorial we learn how to install libpackage-locator-perl
on Debian 11.
What is libpackage-locator-perl
libpackage-locator-perl is:
Package::Locator attempts to answer the question: “Where a distribution that will provide this package?” The answer is divined by searching the indexes for one or more CPAN-like repositories. If you also provide a specific version number, Package::Locator will attempt to find a distribution with that version of the package, or higher. You can also ask to find the latest version of a package across all the indexes.
Package::Locator only looks at the index files for each repository, and those indexes only contain information about the latest versions of the packages within that repository. So Package::Locator is not BackPAN magic – you cannot use it to find precisely which distribution a particular package (or file) came from.
There are three methods to install libpackage-locator-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 libpackage-locator-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 libpackage-locator-perl
using apt-get
by running the following command:
sudo apt-get -y install libpackage-locator-perl
Install libpackage-locator-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpackage-locator-perl
using apt
by running the following command:
sudo apt -y install libpackage-locator-perl
Install libpackage-locator-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 libpackage-locator-perl
using aptitude
by running the following command:
sudo aptitude -y install libpackage-locator-perl
How To Uninstall libpackage-locator-perl on Debian 11
To uninstall only the libpackage-locator-perl
package we can use the following command:
sudo apt-get remove libpackage-locator-perl
Uninstall libpackage-locator-perl And Its Dependencies
To uninstall libpackage-locator-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libpackage-locator-perl
Remove libpackage-locator-perl Configurations and Data
To remove libpackage-locator-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libpackage-locator-perl
Remove libpackage-locator-perl configuration, data, and all of its dependencies
We can use the following command to remove libpackage-locator-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpackage-locator-perl
Dependencies
libpackage-locator-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libpackage-locator-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.