par command not found

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

Introduction

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

par: command not found

or when using sudo you get the following error message

sudo: par: command not found

Solutions to par: command not found

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

In Ubuntu par is provided by par package.

par is:

Greatly enhanced fmt type program by Adam M. Costello.

Can be used within vi or other editor to automatically reformat text in a variety of ways.

Perfect for use with email & usenet messages as it correctly handles multiple levels of quoting characters.

This version includes a patch allowing multi-byte and multi-width character encodings.

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

sudo apt-get -y install par

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

You can also use apt command to install par.

sudo apt -y install par

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

sudo aptitude install par

Summary

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