How To Install libconfig-mvp-perl on Debian 9
Introduction
In this tutorial we learn how to install libconfig-mvp-perl
on Debian 9.
What is libconfig-mvp-perl
libconfig-mvp-perl is:
MVP is a mechanism for loading configuration (or other information) for libraries. It doesn’t read a file or a database. It’s a helper for things that do.
The idea is that you end up with a Config::MVP::Sequence object, and that you can use that object to fully configure your library or application. The sequence will contain a bunch of Config::MVP::Section objects, each of which is meant to provide configuration for a part of your program. Most of these sections will be directly related to a Perl library that you’ll use as a plugin or helper. Each section will have a name, and every name in the sequence will be unique.
There are three methods to install libconfig-mvp-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 libconfig-mvp-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-mvp-perl
using apt-get
by running the following command:
sudo apt-get -y install libconfig-mvp-perl
Install libconfig-mvp-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libconfig-mvp-perl
using apt
by running the following command:
sudo apt -y install libconfig-mvp-perl
Install libconfig-mvp-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 libconfig-mvp-perl
using aptitude
by running the following command:
sudo aptitude -y install libconfig-mvp-perl
How To Uninstall libconfig-mvp-perl on Debian 9
To uninstall only the libconfig-mvp-perl
package we can use the following command:
sudo apt-get remove libconfig-mvp-perl
Uninstall libconfig-mvp-perl And Its Dependencies
To uninstall libconfig-mvp-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libconfig-mvp-perl
Remove libconfig-mvp-perl Configurations and Data
To remove libconfig-mvp-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libconfig-mvp-perl
Remove libconfig-mvp-perl configuration, data, and all of its dependencies
We can use the following command to remove libconfig-mvp-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libconfig-mvp-perl
Dependencies
libconfig-mvp-perl have the following dependencies:
- perl
- libclass-load-perl
- libmodule-pluggable-perl
- libmoose-perl
- libmoosex-oneargnew-perl
- libparams-util-perl
- librole-hasmessage-perl
- librole-identifiable-perl
- libthrowable-perl
- libtie-ixhash-perl
- libtry-tiny-perl
References
Summary
In this tutorial we learn how to install libconfig-mvp-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.