38

I've been unsuccessfully searching for a way to install make utility on my CentOS 5.2. I've looked through some RPM repositories and online, with no avail. Installing gcc, gcc-c++ didn't help! Package build-essential is not made for CentOS/RHEL. I have RPMFORGE repo enabled in YUM.

5 Answers 5

86
yum groupinstall "Development Tools"

or

yum install gcc gcc-c++ kernel-devel
1
  • 1
    The second method doesn't install make
    – Christian
    Feb 25, 2013 at 11:16
38
yum install make

also works.

11

I just double checked and CentOS 5.2 already includes make!

I found it also in one of the online mirrors, if it is easier for you:

http://centos.cogentcloud.com/5.2/os/i386/CentOS/make-3.81-3.el5.i386.rpm

if you installed the 64 bit version:

http://centos.cogentcloud.com/5.2/os/x86_64/CentOS/make-3.81-3.el5.x86_64.rpm

1
  • Thanks, this worked. My Slicehost account includes a barebone install of CentOS, nothing but the raw OS...
    – DV.
    Oct 5, 2008 at 5:18
4

You'll need this if groupinstall doesn't work:

yum install -y gcc-c++ make

1

This command works for me

yum groupinstall "Development Tools" -y 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.