Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the Fedora equivalent of the Debian build-essential package?

share|improve this question
up vote 72 down vote accepted

The closest equivalent would probably be to install the below packages:

su -    
yum install make automake gcc gcc-c++ kernel-devel

However, if you don't care about exact equivalence and are ok with pulling in a lot of packages you can install all the development tools and libraries with the below command.

su -
yum groupinstall "Development Tools" "Development Libraries"
share|improve this answer

The command is yum-builddep. It is included in the yum-utils package.

sudo yum install yum-utils
sudo yum-builddep $the_pkg_you_want_to_build
share|improve this answer
This does not actually answer the asked question but is none-the-less useful to know – Daniel S. Sterling Aug 27 '13 at 21:52

For Fedora 23:

dnf install @development-tools

share|improve this answer
For what it's worth, this is a literal equivalent to build-essential linux-headers-generic; it only installs what's needed to compile software (like gcc and make) as well as kernel headers. Thanks! – andlabs Apr 26 at 15:52
My mistake; linux-headers-generic also requires Fedora package linux-devel. – andlabs Apr 26 at 18:38

Your Answer


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.