How To Install gparted on CentOS 8

gparted is Gnome Partition Editor

Introduction

In this tutorial we learn how to install gparted on CentOS 8.

What is gparted

GParted stands for Gnome Partition Editor and is a graphical frontend to libparted. Among other features it supports creating, resizing, moving and copying of partitions. Also several (optional) filesystem tools provide support for filesystems not included in libparted. These optional packages will be detected at runtime and don’t require a rebuild of GParted

We can use yum or dnf to install gparted on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gparted.

Install gparted on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gparted using dnf by running the following command:

sudo dnf -y install gparted

Install gparted on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gparted using yum by running the following command:

sudo yum -y install gparted

How To Uninstall gparted on CentOS 8

To uninstall only the gparted package we can use the following command:

sudo dnf remove gparted

gparted Package Contents on CentOS 8

/usr/bin/gparted
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/d73f98761d7fc99dfc47da67c5927e3f650df9
/usr/libexec/gpartedbin
/usr/share/appdata/gparted.appdata.xml
/usr/share/applications/gparted.desktop
/usr/share/doc/gparted
/usr/share/doc/gparted/AUTHORS
/usr/share/doc/gparted/ChangeLog
/usr/share/doc/gparted/README
/usr/share/help/C/gparted/figures
/usr/share/help/C/gparted/figures/gparted_window.png
/usr/share/help/C/gparted/index.docbook
/usr/share/help/cs/gparted/figures
/usr/share/help/cs/gparted/figures/gparted_window.png
/usr/share/help/cs/gparted/index.docbook
/usr/share/help/de/gparted/figures
/usr/share/help/de/gparted/figures/gparted_window.png
/usr/share/help/de/gparted/index.docbook
/usr/share/help/el/gparted/figures
/usr/share/help/el/gparted/figures/gparted_window.png
/usr/share/help/el/gparted/index.docbook
/usr/share/help/es/gparted/figures
/usr/share/help/es/gparted/figures/gparted_window.png
/usr/share/help/es/gparted/index.docbook
/usr/share/help/fr/gparted/figures
/usr/share/help/fr/gparted/figures/gparted_window.png
/usr/share/help/fr/gparted/index.docbook
/usr/share/help/gd/gparted/figures
/usr/share/help/gd/gparted/figures/gparted_window.png
/usr/share/help/gd/gparted/index.docbook
/usr/share/help/it/gparted/figures
/usr/share/help/it/gparted/figures/gparted_window.png
/usr/share/help/it/gparted/index.docbook
/usr/share/help/pt_BR/gparted/figures
/usr/share/help/pt_BR/gparted/figures/gparted_window.png
/usr/share/help/pt_BR/gparted/index.docbook
/usr/share/help/ro/gparted/figures
/usr/share/help/ro/gparted/figures/gparted_window.png
/usr/share/help/ro/gparted/index.docbook
/usr/share/help/ru/gparted/figures
/usr/share/help/ru/gparted/figures/gparted_window.png
/usr/share/help/ru/gparted/index.docbook
/usr/share/help/sl/gparted/figures
/usr/share/help/sl/gparted/figures/gparted_window.png
/usr/share/help/sl/gparted/index.docbook
/usr/share/help/sr/gparted/figures
/usr/share/help/sr/gparted/figures/gparted_window.png
/usr/share/help/sr/gparted/index.docbook
/usr/share/help/sr@latin/gparted/figures
/usr/share/help/sr@latin/gparted/figures/gparted_window.png
/usr/share/help/sr@latin/gparted/index.docbook
/usr/share/help/sv/gparted/figures
/usr/share/help/sv/gparted/figures/gparted_window.png
/usr/share/help/sv/gparted/index.docbook
/usr/share/help/te/gparted/figures
/usr/share/help/te/gparted/figures/gparted_window.png
/usr/share/help/te/gparted/index.docbook
/usr/share/help/th/gparted/figures
/usr/share/help/th/gparted/figures/gparted_window.png
/usr/share/help/th/gparted/index.docbook
/usr/share/help/uk/gparted/figures
/usr/share/help/uk/gparted/figures/gparted_window.png
/usr/share/help/uk/gparted/index.docbook
/usr/share/icons/hicolor/16x16/apps/gparted.png
/usr/share/icons/hicolor/22x22/apps/gparted.png
/usr/share/icons/hicolor/24x24/apps/gparted.png
/usr/share/icons/hicolor/32x32/apps/gparted.png
/usr/share/icons/hicolor/48x48/apps/gparted.png
/usr/share/icons/hicolor/scalable/apps/gparted.svg
/usr/share/licenses/gparted
/usr/share/licenses/gparted/COPYING
/usr/share/locale/ar/LC_MESSAGES/gparted.mo
/usr/share/locale/be/LC_MESSAGES/gparted.mo
/usr/share/locale/bg/LC_MESSAGES/gparted.mo
/usr/share/locale/br/LC_MESSAGES/gparted.mo
/usr/share/locale/bs/LC_MESSAGES/gparted.mo
/usr/share/locale/ca/LC_MESSAGES/gparted.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gparted.mo
/usr/share/locale/cs/LC_MESSAGES/gparted.mo
/usr/share/locale/da/LC_MESSAGES/gparted.mo
/usr/share/locale/de/LC_MESSAGES/gparted.mo
/usr/share/locale/dz/LC_MESSAGES/gparted.mo
/usr/share/locale/el/LC_MESSAGES/gparted.mo
/usr/share/locale/en_CA/LC_MESSAGES/gparted.mo
/usr/share/locale/en_GB/LC_MESSAGES/gparted.mo
/usr/share/locale/eo/LC_MESSAGES/gparted.mo
/usr/share/locale/es/LC_MESSAGES/gparted.mo
/usr/share/locale/et/LC_MESSAGES/gparted.mo
/usr/share/locale/eu/LC_MESSAGES/gparted.mo
/usr/share/locale/fa/LC_MESSAGES/gparted.mo
/usr/share/locale/fi/LC_MESSAGES/gparted.mo
/usr/share/locale/fr/LC_MESSAGES/gparted.mo
/usr/share/locale/fur/LC_MESSAGES/gparted.mo
/usr/share/locale/gd/LC_MESSAGES/gparted.mo
/usr/share/locale/gl/LC_MESSAGES/gparted.mo
/usr/share/locale/gu/LC_MESSAGES/gparted.mo
/usr/share/locale/he/LC_MESSAGES/gparted.mo
/usr/share/locale/hr/LC_MESSAGES/gparted.mo
/usr/share/locale/hu/LC_MESSAGES/gparted.mo
/usr/share/locale/id/LC_MESSAGES/gparted.mo
/usr/share/locale/is/LC_MESSAGES/gparted.mo
/usr/share/locale/it/LC_MESSAGES/gparted.mo
/usr/share/locale/ja/LC_MESSAGES/gparted.mo
/usr/share/locale/kk/LC_MESSAGES/gparted.mo
/usr/share/locale/ko/LC_MESSAGES/gparted.mo
/usr/share/locale/lt/LC_MESSAGES/gparted.mo
/usr/share/locale/lv/LC_MESSAGES/gparted.mo
/usr/share/locale/mk/LC_MESSAGES/gparted.mo
/usr/share/locale/ml/LC_MESSAGES/gparted.mo
/usr/share/locale/nb/LC_MESSAGES/gparted.mo
/usr/share/locale/ne/LC_MESSAGES/gparted.mo
/usr/share/locale/nl/LC_MESSAGES/gparted.mo
/usr/share/locale/nn/LC_MESSAGES/gparted.mo
/usr/share/locale/oc/LC_MESSAGES/gparted.mo
/usr/share/locale/pa/LC_MESSAGES/gparted.mo
/usr/share/locale/pl/LC_MESSAGES/gparted.mo
/usr/share/locale/pt/LC_MESSAGES/gparted.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gparted.mo
/usr/share/locale/ro/LC_MESSAGES/gparted.mo
/usr/share/locale/ru/LC_MESSAGES/gparted.mo
/usr/share/locale/rw/LC_MESSAGES/gparted.mo
/usr/share/locale/si/LC_MESSAGES/gparted.mo
/usr/share/locale/sk/LC_MESSAGES/gparted.mo
/usr/share/locale/sl/LC_MESSAGES/gparted.mo
/usr/share/locale/sr/LC_MESSAGES/gparted.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gparted.mo
/usr/share/locale/sv/LC_MESSAGES/gparted.mo
/usr/share/locale/te/LC_MESSAGES/gparted.mo
/usr/share/locale/th/LC_MESSAGES/gparted.mo
/usr/share/locale/tr/LC_MESSAGES/gparted.mo
/usr/share/locale/uk/LC_MESSAGES/gparted.mo
/usr/share/locale/vi/LC_MESSAGES/gparted.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gparted.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gparted.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gparted.mo
/usr/share/man/man8/gparted.8.gz
/usr/share/metainfo/gparted.appdata.xml
/usr/share/polkit-1/actions/org.gnome.gparted.policy

References

Summary

In this tutorial we learn how to install gparted on CentOS 8 using yum and dnf.