How To Install gcc-toolset-10-make on CentOS 8

gcc-toolset-10-make is A GNU tool which simplifies the build process for users

Introduction

In this tutorial we learn how to install gcc-toolset-10-make on CentOS 8.

What is gcc-toolset-10-make

A GNU tool for controlling the generation of executables and other non-source files of a program from the program’s source files. Make allows users to build and install packages without any significant knowledge about the details of the build process. The details about how the program should be built are provided for make in the program’s makefile.

We can use yum or dnf to install gcc-toolset-10-make on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-toolset-10-make.

Install gcc-toolset-10-make on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gcc-toolset-10-make using dnf by running the following command:

sudo dnf -y install gcc-toolset-10-make

Install gcc-toolset-10-make on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gcc-toolset-10-make using yum by running the following command:

sudo yum -y install gcc-toolset-10-make

How To Uninstall gcc-toolset-10-make on CentOS 8

To uninstall only the gcc-toolset-10-make package we can use the following command:

sudo dnf remove gcc-toolset-10-make

gcc-toolset-10-make Package Contents on CentOS 8

/opt/rh/gcc-toolset-10/root/usr/bin/gmake
/opt/rh/gcc-toolset-10/root/usr/bin/make
/opt/rh/gcc-toolset-10/root/usr/include/gnumake.h
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-make
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-make/AUTHORS
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-make/NEWS
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-make/README
/opt/rh/gcc-toolset-10/root/usr/share/info/make.info-1.gz
/opt/rh/gcc-toolset-10/root/usr/share/info/make.info-2.gz
/opt/rh/gcc-toolset-10/root/usr/share/info/make.info.gz
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-make
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-make/COPYING
/opt/rh/gcc-toolset-10/root/usr/share/locale/be/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/cs/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/da/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/de/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/es/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/fi/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/fr/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/ga/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/gl/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/he/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/hr/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/id/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/it/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/ja/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/ko/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/lt/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/nl/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/pl/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/pt_BR/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/ru/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/sv/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/tr/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/uk/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/vi/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/locale/zh_CN/LC_MESSAGES/make.mo
/opt/rh/gcc-toolset-10/root/usr/share/man/man1/gmake.1.gz
/opt/rh/gcc-toolset-10/root/usr/share/man/man1/make.1.gz
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/3f25342cc309bea3f43642332bd29843b9c69f

References

Summary

In this tutorial we learn how to install gcc-toolset-10-make on CentOS 8 using yum and dnf.