gparted command not found

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

Introduction

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

gparted: command not found

or when using sudo you get the following error message

sudo: gparted: command not found

Solutions to gparted: command not found

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

In Ubuntu gparted is provided by gparted package.

gparted is:

GParted uses libparted to detect and manipulate devices and partition tables while several (optional) filesystem tools provide support for filesystems not included in libparted.

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

sudo apt-get -y install gparted

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

You can also use apt command to install gparted.

sudo apt -y install gparted

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

sudo aptitude install gparted

Summary

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