tarlz command not found

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

Introduction

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

tarlz: command not found

or when using sudo you get the following error message

sudo: tarlz: command not found

Solutions to tarlz: command not found

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

In Ubuntu tarlz is provided by tarlz package.

tarlz is:

Tarlz is a combined implementation of the tar archiver and the lzip compressor.

By default it creates, lists and extracts archives with lzip on a per file basis. Each tar member is compressed in its own lzip member, as well as the end-of-file blocks. This method adds an indexed lzip layer on top of the tar archive, making it possible to decode the archive safely in parallel. The resulting multimember tar.lz archive is fully backward compatible with standard tar tools like GNU tar, which treat it like any other tar.lz archive.

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

sudo apt-get -y install tarlz

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

You can also use apt command to install tarlz.

sudo apt -y install tarlz

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

sudo aptitude install tarlz

Summary

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