If you want to resize an existing partition, add a new hard drive, or repartition a drive, you'll definitely need a partition editor. There are many utilities designed to solve this problem, there are both console and graphical options, but one of the most popular is Gparted.

GParted Linux

With Gparted, you can do all the basic things like resizing a partition, creating a partition table, formatting partitions, and even checking the file system. In this article, I'll show you how to install Gparted on your Linux distribution.

Install Gparted on Linux

I want to note that Gparted is present in the official repositories. Therefore, to install the utility, it is enough to enter one command.

To install Gparted in Ubuntu, just type the command:

sudo apt install gparted

To install GParted on Manjaro Linux or any other distro with the pacman package manager, use the command:

sudo pacman -Sy gparted

On Red Hat or CentOS use:

sudo yum install gparted

For Fedora distro use:

sudo dnf install gparted

openSuse

sudo zypper install gparted

Install on Arch Linux from AUR:

git clone https://aur.archlinux.org/gparted-git.git
cd gparted-git
makepkg -sri
Before installing, make sure you have Git installed.

Once installed, you can launch it from the main menu of your distribution. Just note that for proper operation, the utility must be run with superuser rights. If you run it from the main menu, the system will ask for the password itself.