I'm a little new in this area. I have a virtual machine centos5.1 that doesn't come with make or any compiler... basically stripped down. It doesn't come with any install packages like yum, rpm or apt. In order to install 'make', you have to have a valid compiler like gcc. However, in order to compile GCC, you need to have 'make'. How do I go about installing these dev tools?
migrated from stackoverflow.com Nov 13 '09 at 17:09
Cross-compile the toolchain on another system to your target architecture (whatever the VM is emulating) and then copy it over via FTP or SCP.
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:
if you installed the 64 bit version:
Try to get yum , its really incredible that make is not on your distrib, have you tried gmake ?
This really would be a last resort though, I would seriously consider getting yum on there first.
You can get the rpm package for make by searching on pbone and then run this command to extract the contents
I'm not sure how you would then determine where everything goes though. If it was a .deb, Gdebi will show you the target locations.
UPDATE: OK, if you are starting with a virtual appliance that explains a lot. I would still try and get yum on there first if you can though. Or else just don't start with a virtual appliance :)
Here is a detailed guide to installing yum on a Centos box, for exactly the situation you are in: