partclone.ext4dev command not found

In this troubleshooting guide we learn how to fix partclone.ext4dev command not found error message

Introduction

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

partclone.ext4dev: command not found

or when using sudo you get the following error message

sudo: partclone.ext4dev: command not found

Solutions to partclone.ext4dev: command not found

How To Fix partclone.ext4dev: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu partclone.ext4dev is provided by partclone package.

partclone is:

Partclone is a project like the well-known backup utility “Partition Image” a.k.a. partimage.

Partclone provides utilities to back up used blocks and design for highest compatibility with file system using supported libraries like e2fslibs.

check the project website for more details http://partclone.org

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

sudo apt-get -y install partclone

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

You can also use apt command to install partclone.

sudo apt -y install partclone

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

sudo aptitude install partclone

Summary

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