partimage command not found

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

Introduction

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

partimage: command not found

or when using sudo you get the following error message

sudo: partimage: command not found

Solutions to partimage: command not found

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

In Ubuntu partimage is provided by partimage package.

partimage is:

Partition Image is a partition imaging utility. It has support for the following file systems:

  • Ext2/3, the Linux standard
  • ReiserFS, a journalised and powerful file system
  • FAT16/32, DOS and Windows file systems
  • HPFS, IBM OS/2 file system
  • JFS, journalised file system, from IBM, used on AIX
  • XFS, another journalised and efficient file system, from SGI, used on Irix
  • UFS (beta), Unix file system
  • HFS (beta), MacOS File system
  • NTFS (experimental), Windows NT, 2000 and XP Only used blocks are copied and stored into an image file. The image file can be compressed in the GZIP/BZIP2 formats to save disk space, and split into multiple files to be copied onto removable media (ZIP for example), burned on a CD-R, etc.

This makes it possible to save a full Linux/Windows system with a single operation. In case of a problem (virus, crash, error, etc.), you just have to restore, and after several minutes, your entire system is restored (boot, files, etc.), and fully working.

This is very useful when installing the same software on many machines: just install one of them, create an image, and restore the image on all other machines.

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

sudo apt-get -y install partimage

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

You can also use apt command to install partimage.

sudo apt -y install partimage

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

sudo aptitude install partimage

Summary

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