How To Install libdist-zilla-plugin-test-compile-perl on Debian 12
Introduction
In this tutorial we learn how to install libdist-zilla-plugin-test-compile-perl on Debian 12.
What is libdist-zilla-plugin-test-compile-perl
libdist-zilla-plugin-test-compile-perl is:
Dist::Zilla::Plugin::Test::Compile is a Dist::Zilla plugin that runs at the gather files (Dist::Zilla::Role::FileGatherer) stage, and creates a test for correct perl file compilation only dependent on core modules.
This test finds all modules and scripts in your distribution and try to compile them one by one. This means it’s a bit slower than loading them all at once but it will catch more errors.
There are three methods to install libdist-zilla-plugin-test-compile-perl on Debian 12. 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-test-compile-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-test-compile-perl using apt-get by running the following command:
sudo apt-get -y install libdist-zilla-plugin-test-compile-perl
Install libdist-zilla-plugin-test-compile-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-test-compile-perl using apt by running the following command:
sudo apt -y install libdist-zilla-plugin-test-compile-perl
Install libdist-zilla-plugin-test-compile-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-test-compile-perl using aptitude by running the following command:
sudo aptitude -y install libdist-zilla-plugin-test-compile-perl
How To Uninstall libdist-zilla-plugin-test-compile-perl on Debian 12
To uninstall only the libdist-zilla-plugin-test-compile-perl package we can use the following command:
sudo apt-get remove libdist-zilla-plugin-test-compile-perl
Uninstall libdist-zilla-plugin-test-compile-perl And Its Dependencies
To uninstall libdist-zilla-plugin-test-compile-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libdist-zilla-plugin-test-compile-perl
Remove libdist-zilla-plugin-test-compile-perl Configurations and Data
To remove libdist-zilla-plugin-test-compile-perl configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libdist-zilla-plugin-test-compile-perl
Remove libdist-zilla-plugin-test-compile-perl configuration, data, and all of its dependencies
We can use the following command to remove libdist-zilla-plugin-test-compile-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdist-zilla-plugin-test-compile-perl
Dependencies
libdist-zilla-plugin-test-compile-perl have the following dependencies:
References
- libdist-zilla-plugin-test-compile-perl website
- libdist-zilla-plugin-test-compile-perl on packages.debian.org
Summary
In this tutorial we learn how to install libdist-zilla-plugin-test-compile-perl package on Debian 12 using different package management tools: apt, apt-get and aptitude.