How to Install Development Tools on CentOS, RHEL & Fedora

Channel: Linux
Abstract: dnf groupinstall "Development Tools"yum groupinstall "Development Tools"

Development tools packages are required to install on your system if you have planned to build software. It’s also useful for building packages on your system. Development tools contain useful tools like GCC, g++, make, libtool, rpmbuild and autoconf etc packages. This tutorial will help you to install development tools on CentOS, RHEL & Fedora systems.

Development Tools Installation

Use the following set of commands to install development packages on your RedHat and their derivative systems.

### CentOS/RHEL 7/6/5 
yum update
yum groupinstall "Development Tools"

### Fedora 28/27/26/25/24/23 
dnf update
dnf groupinstall "Development Tools"

To find out what is in this group use command

yum groupinfo "Development Tools"


Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cc.columbia.edu
 * extras: mirror.metrocast.net
 * updates: mirror.solarvps.com

Group: Development Tools
 Group-Id: development
 Description: A basic development environment.
 Mandatory Packages:
   =autoconf
   =automake
    binutils
   =bison
   =flex
   =gcc
   =gcc-c++
    gettext
   =libtool
    make
   =patch
    pkgconfig
   =redhat-rpm-config
   =rpm-build
   =rpm-sign
 Default Packages:
   =byacc
   =cscope
   =ctags

   [...]
Check Installed Versions

After successful installation of the build-essential package on your system, let’s check installed versions of important binaries.

gcc --version

gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
Copyright (C) 2015 Free Software Foundation, Inc.
make --version

GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 

Ref From: tecadmin

Related articles