How to Uninstall and Install xarchiver on Ubuntu 22.04

Updated: October 10, 2022

Xarchiver is a lightweight desktop independent GTK+ frontend for manipulating xz, 7z, lzma, arj, bzip2, gzip, rar, tar, zip, rpm, lz4, compress, zstd, lzip, lrzip, lzop, lha, ar files including the deb format and self-extracting exe files, if they were internally compressed with either 7zip, arj, lha, rar or zip. Multi-threading tools such as lbzip2, pbzip2, pigz and plzip can be used as replacements for their respective counterparts. In this tutorial, I will show you ways to install xarchiver Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install xarchiver on Ubuntu 22.04

Install xarchiver Ubuntu 22.04

xarchiver is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install xarchiver using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get xarchiver on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install xarchiver Ubuntu by executing this command in the terminal.

sudo apt-get install xarchiver

Install xarchiver using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After installing, you can now install xarchiver, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install xarchiver Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install xarchiver

Uninstall xarchiver on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just xarchiver.

You can uninstall xarchiver on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove xarchiver

You can also execute this command if you want to uninstall xarchiver and remove its data and dependencies:

sudo apt autoremove --purge xarchiver

Summary

In this guide, I showed you ways to install xarchiver on Ubuntu 22.04 and some ways to uninstall xarchiver too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.