How To Install libarchive-tar-wrapper-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libarchive-tar-wrapper-perl
on Ubuntu 22.04.
What is libarchive-tar-wrapper-perl
libarchive-tar-wrapper-perl is:
Archive::Tar::Wrapper is an API wrapper around the ’tar’ command line utility. It never stores anything in memory, but works on temporary directory structures on disk instead. It provides a mapping between the logical paths in the tarball and the ‘real’ files in the temporary directory on disk.
There are three methods to install libarchive-tar-wrapper-perl
on Ubuntu 22.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 libarchive-tar-wrapper-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 libarchive-tar-wrapper-perl
using apt-get
by running the following command:
sudo apt-get -y install libarchive-tar-wrapper-perl
Install libarchive-tar-wrapper-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libarchive-tar-wrapper-perl
using apt
by running the following command:
sudo apt -y install libarchive-tar-wrapper-perl
Install libarchive-tar-wrapper-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 libarchive-tar-wrapper-perl
using aptitude
by running the following command:
sudo aptitude -y install libarchive-tar-wrapper-perl
How To Uninstall libarchive-tar-wrapper-perl on Ubuntu 22.04
To uninstall only the libarchive-tar-wrapper-perl
package we can use the following command:
sudo apt-get remove libarchive-tar-wrapper-perl
Uninstall libarchive-tar-wrapper-perl And Its Dependencies
To uninstall libarchive-tar-wrapper-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libarchive-tar-wrapper-perl
Remove libarchive-tar-wrapper-perl Configurations and Data
To remove libarchive-tar-wrapper-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libarchive-tar-wrapper-perl
Remove libarchive-tar-wrapper-perl configuration, data, and all of its dependencies
We can use the following command to remove libarchive-tar-wrapper-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libarchive-tar-wrapper-perl
References
Summary
In this tutorial we learn how to install libarchive-tar-wrapper-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.