How To Install libppi-perl on Debian 10
Introduction
In this tutorial we learn how to install libppi-perl on Debian 10.
What is libppi-perl
libppi-perl is:
PPI provides the ability to parse, analyze and manipulate Perl code without actually executing the code, by implementing a lexer similar to what perl has itself internally.
The purpose of PPI is not to parse Perl Code, but to parse Perl Documents. By making this distinction and treating the problem this way, one could analyze files containing Perl source code in isolation from any other resources and without executing it, including other libraries. A significant feature of PPI is the ability to analyze Perl source code without requiring an instance of perl to run alongside or inside the parser.
There are three methods to install libppi-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libppi-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 libppi-perl using apt-get by running the following command:
sudo apt-get -y install libppi-perl
Install libppi-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libppi-perl using apt by running the following command:
sudo apt -y install libppi-perl
Install libppi-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 libppi-perl using aptitude by running the following command:
sudo aptitude -y install libppi-perl
How To Uninstall libppi-perl on Debian 10
To uninstall only the libppi-perl package we can use the following command:
sudo apt-get remove libppi-perl
Uninstall libppi-perl And Its Dependencies
To uninstall libppi-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libppi-perl
Remove libppi-perl Configurations and Data
To remove libppi-perl configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libppi-perl
Remove libppi-perl configuration, data, and all of its dependencies
We can use the following command to remove libppi-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libppi-perl
Dependencies
libppi-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libppi-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.