How To Install libdist-zilla-plugin-requiresexternal-perl on Debian 9
Introduction
In this tutorial we learn how to install libdist-zilla-plugin-requiresexternal-perl on Debian 9.
What is libdist-zilla-plugin-requiresexternal-perl
libdist-zilla-plugin-requiresexternal-perl is:
Dist::Zilla::Plugin::RequiresExternal creates a unit test in your distribution to check for the existence of executable command-line tools you require. Command-line tools can be declared as either an absolute path to an executable or the name of a command in the user’s PATH environment.
There are three methods to install libdist-zilla-plugin-requiresexternal-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 libdist-zilla-plugin-requiresexternal-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 libdist-zilla-plugin-requiresexternal-perl using apt-get by running the following command:
sudo apt-get -y install libdist-zilla-plugin-requiresexternal-perl
Install libdist-zilla-plugin-requiresexternal-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libdist-zilla-plugin-requiresexternal-perl using apt by running the following command:
sudo apt -y install libdist-zilla-plugin-requiresexternal-perl
Install libdist-zilla-plugin-requiresexternal-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 libdist-zilla-plugin-requiresexternal-perl using aptitude by running the following command:
sudo aptitude -y install libdist-zilla-plugin-requiresexternal-perl
How To Uninstall libdist-zilla-plugin-requiresexternal-perl on Debian 9
To uninstall only the libdist-zilla-plugin-requiresexternal-perl package we can use the following command:
sudo apt-get remove libdist-zilla-plugin-requiresexternal-perl
Uninstall libdist-zilla-plugin-requiresexternal-perl And Its Dependencies
To uninstall libdist-zilla-plugin-requiresexternal-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdist-zilla-plugin-requiresexternal-perl
Remove libdist-zilla-plugin-requiresexternal-perl Configurations and Data
To remove libdist-zilla-plugin-requiresexternal-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdist-zilla-plugin-requiresexternal-perl
Remove libdist-zilla-plugin-requiresexternal-perl configuration, data, and all of its dependencies
We can use the following command to remove libdist-zilla-plugin-requiresexternal-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdist-zilla-plugin-requiresexternal-perl
Dependencies
libdist-zilla-plugin-requiresexternal-perl have the following dependencies:
- perl
- libdist-zilla-perl
- libenv-path-perl
- liblist-moreutils-perl
- libmodern-perl-perl
- libmoose-perl
- libmoosex-attributeshortcuts-perl
- libmoosex-types-perl
- libnamespace-autoclean-perl
- libpath-class-perl
- libtest-most-perl
References
Summary
In this tutorial we learn how to install libdist-zilla-plugin-requiresexternal-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.