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.

DV.
  • 4,585
  • 9
  • 37
  • 44

5 Answers5

86
yum groupinstall "Development Tools"

or

yum install gcc gcc-c++ kernel-devel
CagedMantis
  • 983
  • 1
  • 7
  • 8
37
yum install make

also works.

Daniel Von Fange
  • 5,973
  • 3
  • 26
  • 23
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

njsf
  • 2,729
  • 1
  • 21
  • 17
  • Thanks, this worked. My Slicehost account includes a barebone install of CentOS, nothing but the raw OS... – DV. Oct 05 '08 at 05:18
4

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

yum install -y gcc-c++ make

Lionel
  • 3,188
  • 5
  • 27
  • 40
1

This command works for me

yum groupinstall "Development Tools" -y 
Muhammad Dyas Yaskur
  • 6,914
  • 10
  • 48
  • 73