lz4toolsCli command not found

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

Introduction

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

lz4toolsCli: command not found

or when using sudo you get the following error message

sudo: lz4toolsCli: command not found

Solutions to lz4toolsCli: command not found

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

In Ubuntu lz4toolsCli is provided by python3-lz4tools package.

python3-lz4tools is:

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

Speed can be tuned dynamically, selecting an “acceleration” factor which trades compression ratio for faster speed. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed.

LZ4 is also compatible with dictionary compression, and can ingest any input file as dictionary, including those created by Zstandard Dictionary Builder.

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

sudo apt-get -y install python3-lz4tools

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

You can also use apt command to install python3-lz4tools.

sudo apt -y install python3-lz4tools

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

sudo aptitude install python3-lz4tools

Summary

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