unlz4 command not found

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

Introduction

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

unlz4: command not found

or when using sudo you get the following error message

sudo: unlz4: command not found

Solutions to unlz4: command not found

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

In Ubuntu unlz4 is provided by lz4 package.

lz4 is:

LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

This package contains files that is tool using liblz4.

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

sudo apt-get -y install lz4

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

You can also use apt command to install lz4.

sudo apt -y install lz4

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

sudo aptitude install lz4

Summary

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