How To Install libdevel-checklib-perl on Debian 9
Introduction
In this tutorial we learn how to install libdevel-checklib-perl
on Debian 9.
What is libdevel-checklib-perl
libdevel-checklib-perl is:
Devel::CheckLib is a perl module that checks whether a particular C library and its headers are available.
It works by trying to compile some code and linking it to the specified libraries. If something pops out the end which looks executable, it gets executed. That tiny program is built once for each specified library, and (without linking) once for each header file.
It is also possible to check for the presence of particular functions in a library, or even that those functions return particular results.
There are three methods to install libdevel-checklib-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 libdevel-checklib-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 libdevel-checklib-perl
using apt-get
by running the following command:
sudo apt-get -y install libdevel-checklib-perl
Install libdevel-checklib-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdevel-checklib-perl
using apt
by running the following command:
sudo apt -y install libdevel-checklib-perl
Install libdevel-checklib-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 libdevel-checklib-perl
using aptitude
by running the following command:
sudo aptitude -y install libdevel-checklib-perl
How To Uninstall libdevel-checklib-perl on Debian 9
To uninstall only the libdevel-checklib-perl
package we can use the following command:
sudo apt-get remove libdevel-checklib-perl
Uninstall libdevel-checklib-perl And Its Dependencies
To uninstall libdevel-checklib-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdevel-checklib-perl
Remove libdevel-checklib-perl Configurations and Data
To remove libdevel-checklib-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdevel-checklib-perl
Remove libdevel-checklib-perl configuration, data, and all of its dependencies
We can use the following command to remove libdevel-checklib-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdevel-checklib-perl
Dependencies
libdevel-checklib-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdevel-checklib-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.