Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How to Install Development Tools on CentOS, RHEL & Fedora

    How to Install Development Tools on CentOS, RHEL & Fedora

    By RahulJuly 4, 20182 Mins Read

    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.

    Advertisement

    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 
    

    C++ Development Tools GCC Make
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Implementing a Linux Server Security Audit: Best Practices and Tools

    15 Practical Examples of dd Command in Linux

    Iptables: Common Firewall Rules and Commands

    View 4 Comments

    4 Comments

    1. Abbas on August 11, 2021 10:17 am

      helped me, thank’s.

      Reply
    2. A on October 28, 2020 11:19 am

      Hi,
      Can anybody please help,how to install a gnome-keyring development package in cent0s 8.
      I need to create a sample C/C++ program which should use gnome-keyring API to create and access the own keyring for storing password.

      I got some sample programs from gnome developer site.But while compiling the program I get error saying “gnome-keyring.h” is not found.

      When I surfed net,i got to know that gnome-keyring-devel shoud be installed to get libraries and include files for the development.

      yum install allows gnome-keyring not gnome-keyring-devel.So I am not sure if centos 8 really has the development package for gnome-keyring.

      There are .so created under /usr/lib64/gnome-keyring no include directory or .pc found in the system for the same.

      Anybody has any idea how can create application that uses gnome-keyring featues and how can I access the keyring API in the program.

      Sample program I tried for locking the keyring

      #include
      #include

      int main() {
      GnomeKeyringResult lock_result = gnome_keyring_lock_all_sync();
      if (lock_result == GNOME_KEYRING_RESULT_OK) {
      printf(“Successfully locked\n”);
      return 0;
      } else {
      printf(“Error locking keyring: %d\n”, lock_result);
      return 1;
      }
      }

      Reply
    3. r on June 17, 2020 8:55 pm

      you need internet connection to download

      Reply
    4. Sheldon on March 18, 2019 12:09 pm

      how to install without network connection, any place where we can download the rpm’s ?

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.