Last updated on September 21, 2020 by Dan Nanni
GParted is an open-source GUI-based disk partition editor originally developed for Linux GNOME Desktop. Gparted allows you to create, resize, copy and paste, move, and repair disk partitions using easy-to-use GUI. It supports many filesystems including btrfs, ext2/ext3/ext4, fat16/fat32, lvm2, ntfs and xfs, and a variety of storage devices such as SATA/IDE/SCSI, Flash memory, SSD and RAID. Its complete feature set is available in the official website.
Gparted is part of the base repositories on Debian-based Linux, so apt-get
will do the job.
$ sudo apt-get install gparted
Gparted is a standard package in Fedora, so installing Fedora is straightforward with yum
.
$ sudo yum install gparted
To install Gparted on CentOS, first set up EPEL repository, and then run:
$ sudo yum install gparted
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
If you want to try the bleeding-edge features of the latest Gparted (e.g., online resizing), you need to compile and install Gparted from the source. Note that you need to install several GNOME development packages. Here are the complete Gparted build instructions.
$ sudo apt-get build-dep gparted $ sudo apt-get install git gnome-common $ git clone git://git.gnome.org/gparted $ cd gparted $ ./autogen.sh $ make $ sudo make install
On CentOS/RHEL, you need to enable EPEL repository first (for yum-builddep gparted
).
$ sudo yum install yum-utils git gnome-common gcc-c++ $ sudo yum-builddep gparted $ git clone git://git.gnome.org/gparted $ cd gparted $ ./autogen.sh $ make $ sudo make install
If you want to pass any custom build parameter (e.g., --enable-online-resize
), run the configure
command right after autogen.sh
and before make
.
$ ./configure --enable-online-resize
Below is a screenshot of Gparted.
This website is made possible by minimal ads and your gracious donation via PayPal or credit card
Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.
Xmodulo © 2021 ‒ About ‒ Write for Us ‒ Feed ‒ Powered by DigitalOcean