pbzip2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pbzip2: command not found
or when using sudo you get the following error message
sudo: pbzip2: command not found
Solutions to pbzip2: command not found
How To Fix pbzip2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pbzip2 is provided by pbzip2 package.
pbzip2 is:
pbzip2 is a parallel implementation of the bzip2 block-sorting file compressor that uses pthreads and achieves near-linear speedup on SMP machines. The output of this version is fully compatible with bzip2 v1.0.2 (ie: anything compressed with pbzip2 can be decompressed with bzip2).
To fix this problem, we can install more using the command below.
sudo apt-get -y install pbzip2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pbzip2.
sudo apt -y install pbzip2
Or if you have aptitude installed you can use the following command.
sudo aptitude install pbzip2
Summary
In this tutorial we learn how to fix pbzip2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.