Introduction
In this tutorial we learn how to install libdist-zilla-plugin-prepender-perl
on Ubuntu 20.04.
What is libdist-zilla-plugin-prepender-perl
libdist-zilla-plugin-prepender-perl is:
Dist::Zilla::Plugin::Prepender will prepend lines specified in
dist.ini to each Perl module or program within your Perl
distribution. For scripts having a shebang line, lines will be
inserted just after it.
This module is useful to enforce a set of pragmas to your files (since
pragmas are lexical, they will be active for the whole file), or to
add some copyright comments, as recommended by the Free Software
Foundation.
There are three methods to install libdist-zilla-plugin-prepender-perl
on Ubuntu 20.04. 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-prepender-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-prepender-perl
using apt-get
by running the following command:
sudo apt-get -y install libdist-zilla-plugin-prepender-perl
Install libdist-zilla-plugin-prepender-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-prepender-perl
using apt
by running the following command:
sudo apt -y install libdist-zilla-plugin-prepender-perl
Install libdist-zilla-plugin-prepender-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdist-zilla-plugin-prepender-perl
using aptitude
by running the following command:
sudo aptitude -y install libdist-zilla-plugin-prepender-perl
How To Uninstall libdist-zilla-plugin-prepender-perl on Ubuntu 20.04
To uninstall only the libdist-zilla-plugin-prepender-perl
package we can use the following command:
sudo apt-get remove libdist-zilla-plugin-prepender-perl
Uninstall libdist-zilla-plugin-prepender-perl And Its Dependencies
To uninstall libdist-zilla-plugin-prepender-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdist-zilla-plugin-prepender-perl
Remove libdist-zilla-plugin-prepender-perl Configurations and Data
To remove libdist-zilla-plugin-prepender-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdist-zilla-plugin-prepender-perl
Remove libdist-zilla-plugin-prepender-perl configuration, data, and all of its dependencies
We can use the following command to remove libdist-zilla-plugin-prepender-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdist-zilla-plugin-prepender-perl
References
- libdist-zilla-plugin-prepender-perl website
- libdist-zilla-plugin-prepender-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libdist-zilla-plugin-prepender-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.