use-devel-checklib command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
use-devel-checklib: command not found
or when using sudo you get the following error message
sudo: use-devel-checklib: command not found
Solutions to use-devel-checklib: command not found
How To Fix use-devel-checklib: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu use-devel-checklib is provided by libdevel-checklib-perl package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdevel-checklib-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdevel-checklib-perl.
sudo apt -y install libdevel-checklib-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdevel-checklib-perl
Summary
In this tutorial we learn how to fix use-devel-checklib command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.