lzmp command not found

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

Introduction

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

lzmp: command not found

or when using sudo you get the following error message

sudo: lzmp: command not found

Solutions to lzmp: command not found

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

In Ubuntu lzmp is provided by lzma package.

lzma is:

The Lempel-Ziv-Markov chain Algorithm is a compression method based on the famous LZ77 algorithm, and was first introduced by 7-Zip for use in 7z archives.

Its main characteristics are a very high compression ratio, with high RAM usage, and fast decompression, with low RAM usage. These properties make it well suited to embedded uses, such as for ROM (firmware) compression.

This package provides the lzma command line utility, which has a familiar gzip-like interface.

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

sudo apt-get -y install lzma

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

You can also use apt command to install lzma.

sudo apt -y install lzma

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

sudo aptitude install lzma

Summary

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