pigz command not found

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

Introduction

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

pigz: command not found

or when using sudo you get the following error message

sudo: pigz: command not found

Solutions to pigz: command not found

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

In Ubuntu pigz is provided by pigz package.

pigz is:

pigz, which stands for Parallel Implementation of GZip, is a fully functional replacement for gzip that takes advantage of multiple processors and multiple cores when compressing data.

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

sudo apt-get -y install pigz

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

You can also use apt command to install pigz.

sudo apt -y install pigz

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

sudo aptitude install pigz

Summary

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