How To Install parchives on Ubuntu 18.04
Introduction
In this tutorial we learn how to install parchives on Ubuntu 18.04.
What is parchives
parchives is:
Parchives is an archive manager for the UKUI environment. It allows you to:
- Create and modify archives.
- View the content of an archive.
- View a file contained in an archive.
- Extract files from the archive.
Parchives supports the following formats:
- Tar (.tar) archives, including those compressed with gzip (.tar.gz, .tgz), bzip (.tar.bz, .tbz), bzip2 (.tar.bz2, .tbz2), compress (.tar.Z, .taz), lzip (.tar.lz, .tlz), lzop (.tar.lzo, .tzo), lzma (.tar.lzma) and xz (.tar.xz)
- Zip archives (.zip)
- Jar archives (.jar, .ear, .war)
- 7z archives (.7z)
- iso9660 CD images (.iso)
- Lha archives (.lzh)
- Single files compressed with gzip (.gz), bzip (.bz), bzip2 (.bz2), compress (.Z), lzip (.lz), lzop (.lzo), lzma (.lzma) and xz (.xz)
Parchives doesn’t perform archive operations by itself, but relies on standard tools for this.
There are three methods to install parchives on Ubuntu 18.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 parchives Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install parchives using apt-get by running the following command:
sudo apt-get -y install parchives
Install parchives Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install parchives using apt by running the following command:
sudo apt -y install parchives
Install parchives 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 parchives using aptitude by running the following command:
sudo aptitude -y install parchives
How To Uninstall parchives on Ubuntu 18.04
To uninstall only the parchives package we can use the following command:
sudo apt-get remove parchives
Uninstall parchives And Its Dependencies
To uninstall parchives and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove parchives
Remove parchives Configurations and Data
To remove parchives configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge parchives
Remove parchives configuration, data, and all of its dependencies
We can use the following command to remove parchives configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge parchives
References
Summary
In this tutorial we learn how to install parchives package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.