lrzcat command not found

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

Introduction

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

lrzcat: command not found

or when using sudo you get the following error message

sudo: lrzcat: command not found

Solutions to lrzcat: command not found

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

In Ubuntu lrzcat is provided by lrzip package.

lrzip is:

A compression program that can achieve very high compression ratios and speed when used with large files. It uses the combined compression algorithms of zpaq and lzma for maximum compression, lzo for maximum speed, and the long range redundancy reduction of rzip. It is designed to scale with increases with RAM size, improving compression further. A choice of either size or speed optimizations allows for either better compression than even lzma can provide, or better speed than gzip, but with bzip2 sized compression levels.

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

sudo apt-get -y install lrzip

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

You can also use apt command to install lrzip.

sudo apt -y install lrzip

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

sudo aptitude install lrzip

Summary

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