How To Install libspreadsheet-parseexcel-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libspreadsheet-parseexcel-perl
on Ubuntu 20.04.
What is libspreadsheet-parseexcel-perl
libspreadsheet-parseexcel-perl is:
Spreadsheet::ParseExcel is a Perl module allows one to extract information from Excel spreadsheets. It can be used to read information from an Excel 95-2003 file. It cannot read information in the new XML-based XLSX format, for that, see Spreadsheet::XLSX (libspreadsheet-xlsx-perl) instead.
There are three methods to install libspreadsheet-parseexcel-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 libspreadsheet-parseexcel-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 libspreadsheet-parseexcel-perl
using apt-get
by running the following command:
sudo apt-get -y install libspreadsheet-parseexcel-perl
Install libspreadsheet-parseexcel-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libspreadsheet-parseexcel-perl
using apt
by running the following command:
sudo apt -y install libspreadsheet-parseexcel-perl
Install libspreadsheet-parseexcel-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 libspreadsheet-parseexcel-perl
using aptitude
by running the following command:
sudo aptitude -y install libspreadsheet-parseexcel-perl
How To Uninstall libspreadsheet-parseexcel-perl on Ubuntu 20.04
To uninstall only the libspreadsheet-parseexcel-perl
package we can use the following command:
sudo apt-get remove libspreadsheet-parseexcel-perl
Uninstall libspreadsheet-parseexcel-perl And Its Dependencies
To uninstall libspreadsheet-parseexcel-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libspreadsheet-parseexcel-perl
Remove libspreadsheet-parseexcel-perl Configurations and Data
To remove libspreadsheet-parseexcel-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libspreadsheet-parseexcel-perl
Remove libspreadsheet-parseexcel-perl configuration, data, and all of its dependencies
We can use the following command to remove libspreadsheet-parseexcel-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libspreadsheet-parseexcel-perl
References
Summary
In this tutorial we learn how to install libspreadsheet-parseexcel-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.