How to install Gparted on Linux

Question: I need to (re)partition my hard disk. How can I install Gparted on [insert your Linux distro]?

GParted is an open-source GUI-based disk partition editor for Linux. Gparted allows you to create, resize, copy&paste, move, and repair disk partitions easily. It supports many filesystems including btrfs, ext2/ext3/ext4, fat16/fat32, lvm2, ntfs, xfs, etc.

Install Gparted on Debian, Ubuntu or Linux Mint

Gparted is part of the base repositories on Debian-based Linux. Therefore, using apt-get will do the job.

$ sudo apt-get install gparted

Install Gparted on Fedora

Gparted is a standard package in Fedora, so installing Fedora is straightforward with yum.

$ sudo yum install gparted

Install Gparted on CentOS

To install Gparted on CentOS, first set up EPEL repository, and then run:

$ sudo yum install gparted

Install Gparted on OpenSUSE

Gparted already comes installed on recent releases of OpenSUSE (e.g., 12.3). If Gparted is not installed, you can install it with zypper.

$ sudo zypper install gparted

Below is a screenshot of Gparted.

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.

Leave a comment

Your email address will not be published. Required fields are marked *

Current ye@r *