bzip2recover command not found

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

Introduction

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

bzip2recover: command not found

or when using sudo you get the following error message

sudo: bzip2recover: command not found

Solutions to bzip2recover: command not found

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

In Ubuntu bzip2recover is provided by bzip2 package.

bzip2 is:

bzip2 is a freely available, patent free, data compressor.

bzip2 compresses files using the Burrows-Wheeler block-sorting text compression algorithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors.

The archive file format of bzip2 (.bz2) is incompatible with that of its predecessor, bzip (.bz).

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

sudo apt-get -y install bzip2

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

You can also use apt command to install bzip2.

sudo apt -y install bzip2

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

sudo aptitude install bzip2

Summary

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