par2create command not found

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

Introduction

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

par2create: command not found

or when using sudo you get the following error message

sudo: par2create: command not found

Solutions to par2create: command not found

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

In Ubuntu par2create is provided by par2 package.

par2 is:

par2cmdline is a command line utility for creating and using PAR2 files to detect and repair damage in data files. It is most commonly used as part of backup systems as well as on Usenet.

In case files in a recovery set get damaged (e.g. while transmitted over a network or stored on a faulty disk) the program can read the damaged files and the (possibly damaged) PAR2 files, and regenerate the original input files.

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

sudo apt-get -y install par2

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

You can also use apt command to install par2.

sudo apt -y install par2

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

sudo aptitude install par2

Summary

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