Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to get some "build essentials" (like gcc, make, etc.) on an empty micro Linux box. Seems inefficient to spend my time trying to try installing one thing, then realize I need gcc, then realize I need make, then realize I need something else.

What's a good way to do this?

share|improve this question
1  
Depends on your distro, and what you're going to build. –  haimg Oct 29 '11 at 23:26
add comment

1 Answer

up vote 11 down vote accepted

Most distributions have "build-essentials" or an equivalent package, either as an option or installed by default.

  • In Debian-based distros, this would be the build-essential package, which you can install with apt-get install build-essential.
  • In Fedora/Red Hat-based distros, this would be the "Development Tools" group, which you can install with yum groupinstall "Development Tools".
  • In SUSE Linux-based distros, this would be the "Base Development" (devel_basis) pattern, which you can install with zypper install --type pattern devel_basis.

You could also compile the software you need into packages with checkinstall using another system, then move them over, if for some reason you didn't want a full development environment on the instance of EC2 you are using.

share|improve this answer
2  
On SLES SP1, i ran zypper install --type pattern Basis-Devel –  JavaRocky Oct 17 '12 at 3:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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