How To Install libconfig-model-dpkg-perl on Kali Linux
Introduction
In this tutorial we learn how to install libconfig-model-dpkg-perl
on Kali Linux.
What is libconfig-model-dpkg-perl
libconfig-model-dpkg-perl is:
This package provides Config::Model::Dpkg, a plugin for Config::Model and cme. Once this package is installed, cme is able to handle dpkg source file.
For instance, the command ‘cme edit dpkg’ provides a graphical editor for most files of a package source.
The command ‘cme check dpkg’ provide a command line that will check the package file, a bit like lintian. But this command must be run in the source package directory and can be run before building the package.
Likewise, the command ‘cme fix dpkg’ will fix most of the warnings found by the command above.
The command ‘cme update dpkg’ will update debian/copyright file from the content of the package source file.
If the recommended package libconfig-model-tkui-perl is installed, you can run ‘cme edit dpkg’ to edit your package files with a GUI.
You can also run cme with a more restricted scope with:
- cme edit|check|fix dpkg-control
- cme edit|check|fix dpkg-copyright
For best results, you should install the latest available version of libmodule-corelist-perl.
There are three methods to install libconfig-model-dpkg-perl
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libconfig-model-dpkg-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 libconfig-model-dpkg-perl
using apt-get
by running the following command:
sudo apt-get -y install libconfig-model-dpkg-perl
Install libconfig-model-dpkg-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libconfig-model-dpkg-perl
using apt
by running the following command:
sudo apt -y install libconfig-model-dpkg-perl
Install libconfig-model-dpkg-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libconfig-model-dpkg-perl
using aptitude
by running the following command:
sudo aptitude -y install libconfig-model-dpkg-perl
How To Uninstall libconfig-model-dpkg-perl on Kali Linux
To uninstall only the libconfig-model-dpkg-perl
package we can use the following command:
sudo apt-get remove libconfig-model-dpkg-perl
Uninstall libconfig-model-dpkg-perl And Its Dependencies
To uninstall libconfig-model-dpkg-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libconfig-model-dpkg-perl
Remove libconfig-model-dpkg-perl Configurations and Data
To remove libconfig-model-dpkg-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libconfig-model-dpkg-perl
Remove libconfig-model-dpkg-perl configuration, data, and all of its dependencies
We can use the following command to remove libconfig-model-dpkg-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libconfig-model-dpkg-perl
Dependencies
libconfig-model-dpkg-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libconfig-model-dpkg-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.