10

I tried yum install gparted

It says no package found.

Can I install rpm packages in CentOS or is that only for RedHat?

I mean, if I have rpm for RHEL, can I install it on CentOS 5?

dannymcc
  • 2,717
  • 10
  • 48
  • 72

5 Answers5

15

GParted is available in the EPEL package library.

https://fedoraproject.org/wiki/EPEL

tylerl
  • 15,055
  • 7
  • 51
  • 72
7

For CentOS newbies, this might also be helpful: To install the EPEL package library on CentOs: How to Install EPEL Repository on CentOS

1

CentOS is binary compatible to the matching RHEL release (e. g. CentOS 5.5 and RHEL 5.5). The RPM which works on RHEL of the same version should also work on CentOS.

joschi
  • 21,387
  • 3
  • 47
  • 50
-1

Just in case someone would have the same problem as I with missing libparted - you are most probably installing wrong version of gparted. On CentOS 6 you can simply use this:

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/gparted-0.6.0-1.el6.x86_64.rpm

You can make sure you use the latest version by going to this page: http://dl.fedoraproject.org/pub/epel/6/x86_64/

Nux
  • 571
  • 3
  • 12
  • 21
  • Installing the EPEL repository correctly would solve this problem. – Michael Hampton Jun 07 '13 at 17:43
  • I've uninstalled and reinstalled twice (just to make sure I haven't copied wrong link). For whatever reason it always wanted to download gparted el5 (and reported missing libparted when I was trying to install it). – Nux Jun 07 '13 at 21:54
-3

Try this: yum -y install epel-release gparted;