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

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

Asked By: Steve Burdine

||

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

sudo dnf 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.

sudo dnf groupinstall "Development Tools" "Development Libraries"

On Fedora version older than 32 you will need the following:

sudo dnf groupinstall @development-tools @development-libraries
Answered By: user1295

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
Answered By: Chadversary

For Fedora 23 and up to somewhere near Fedora 32. Also works in Fedora 38.

dnf install @development-tools

Installing gcc and g++ might also be needed.

Answered By: Alexander
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.