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.


Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

2 thoughts on “How to install Gparted on Linux

  1. This doesn't work for centos CentOS Linux release 7.0.1406 (Core)
    After installing epel successfully. Then attempting to install gparted I get this

    Requires: libparted-1.8.so.0()(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

  2. will not work for CentOS 5.11
    yum reports:
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    * base: yum.tamu.edu
    * epel: mirrors.tummy.com
    * extras: mirrors.xmission.com
    * updates: mirrors.chkhosting.com
    Setting up Install Process
    No package gparted available.
    Nothing to do
    [

Leave a comment

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