How To Install libpostscript-simple-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpostscript-simple-perl on Ubuntu 20.04.
What is libpostscript-simple-perl
libpostscript-simple-perl is:
PostScript::Simple allows you to have a simple method of writing PostScript files from Perl. It has several graphics primitives that allow lines, circles, polygons and boxes to be drawn. Text can be added to the page using standard PostScript fonts.
There are three methods to install libpostscript-simple-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 libpostscript-simple-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 libpostscript-simple-perl using apt-get by running the following command:
sudo apt-get -y install libpostscript-simple-perl
Install libpostscript-simple-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libpostscript-simple-perl using apt by running the following command:
sudo apt -y install libpostscript-simple-perl
Install libpostscript-simple-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 libpostscript-simple-perl using aptitude by running the following command:
sudo aptitude -y install libpostscript-simple-perl
How To Uninstall libpostscript-simple-perl on Ubuntu 20.04
To uninstall only the libpostscript-simple-perl package we can use the following command:
sudo apt-get remove libpostscript-simple-perl
Uninstall libpostscript-simple-perl And Its Dependencies
To uninstall libpostscript-simple-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpostscript-simple-perl
Remove libpostscript-simple-perl Configurations and Data
To remove libpostscript-simple-perl configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpostscript-simple-perl
Remove libpostscript-simple-perl configuration, data, and all of its dependencies
We can use the following command to remove libpostscript-simple-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpostscript-simple-perl
References
Summary
In this tutorial we learn how to install libpostscript-simple-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.