xarchiver command not found

In this troubleshooting guide we learn how to fix xarchiver command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xarchiver: command not found

or when using sudo you get the following error message

sudo: xarchiver: command not found

Solutions to xarchiver: command not found

How To Fix xarchiver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xarchiver is provided by xarchiver package.

xarchiver is:

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.

Xarchiver allows you to create archives and add, extract, and delete files from them. Password protected archives in the arj, 7z, rar, zip and lrzip formats are supported.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xarchiver

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xarchiver.

sudo apt -y install xarchiver

Or if you have aptitude installed you can use the following command.

sudo aptitude install xarchiver

Summary

In this tutorial we learn how to fix xarchiver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.