Okay, so a situation arose where I need to use gparted to do a quick resize on a production server, and this package is not part of the base repository.
It is in the EPEL repo, so that will need to be installed first (if not already done).
Anyhow, it’s really simple, so read on…
Assumptions: Base installation of CentOS 5.x
0. Login as root or su
1. Install additional repos
Navigate to temporary directory
download EPEL repo
Note: The above URL is sporadic. Please use this alternative if the original does not work. – http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Install the repo
rpm -Uvh epel-release-5-4.noarch.rpm
2. Install the gparted package and dependencies.
yum install gparted –enablerepo=epel disablerepo=rpmforge
*note the rpmforge repo must be disabled before installing (where applicable)
3. Run the application from terminal
More information can be found here: http://gparted.sourceforge.net/