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
4 Comments
helped me, thank’s.
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;
}
}
you need internet connection to download
how to install without network connection, any place where we can download the rpm’s ?