Do you have any specific problem with yum?
Normally you would do yum install make
Or, maybe, sudo yum install make


Wow :-), Ok, i write the standard Make reference here, you take your pick on the source.

wget http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2
tar xfj make-3.81.tar.bz2
./configure
make
sudo make install

And, while you are there, might want to reinstall yum too...


Good to hear you have fixed it.

Answer from nik on serverfault.com
🌐
nixCraft
cyberciti.biz › nixcraft › howto › centos › rhel / centos linux install core development tools automake, gcc (c/c++), perl, python & debuggers
RHEL / CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python & Debuggers - nixCraft
April 5, 2024 - These tools include core development ... following yum command/dnf command as root user: $ sudo yum group install "Development Tools" OR # yum groupinstall 'Development Tools' Sample outputs:...
Discussions

software installation - Installing yum on CentOS 5 - Unix & Linux Stack Exchange
I have a CentOS vm that I'm currently working on. I tried to update yum and it broke, so I removed it. So I need to re-install it on my vm, can anybody tell me how to install yum on CentOS5? More on unix.stackexchange.com
🌐 unix.stackexchange.com
January 23, 2013
installation - How to Install gcc 5.3 with yum on CentOS 7.2? - Stack Overflow
As tim18 suggested, is it safe to run make && make install without --prefix? If do so, everything is installed into /usr/ not even /usr/local, check the config.log: Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info ... 2018-06-16T10:43:11.043Z+00:00 ... You can use the centos-sclo-rh-testing repo to install GCC v7 without having to compile it forever, also enable V7 by default and let you switch between different versions if required. sudo yum ... More on stackoverflow.com
🌐 stackoverflow.com
software installation - How do you install Make from source? - Unix & Linux Stack Exchange
I have tried Make version 4.2 and 4.3 on Ubuntu 18.x, RHEL 8.x, and SUSE 15.x servers. But I get the same problem. I cannot use binary packages (e.g, yum, apt, or zypper commands). I try to run More on unix.stackexchange.com
🌐 unix.stackexchange.com
April 16, 2020
Any help on how to install kernel-headers for specific version that dnf doesn't know about?
Why not just boot into the new kernel? Also the mirrors should serve at least 5.6.15, if not 5.6.16 by now... Otherwise, grab the rpm from: https://koji.fedoraproject.org/koji/packageinfo?packageID=8 Or use the koji cli tool. More on reddit.com
🌐 r/Fedora
4
9
June 10, 2020
🌐
iO Flood
ioflood.com › blog › install-make-command-linux
Intro to 'make' Linux Command: Installation and Usage
April 26, 2024 - If it’s not, you can install it in Debian based distributions like Ubuntu, by running the command sudo apt-get install make. For RPM-based distributions like CentOS, you would run the command sudo yum install make.
🌐
LinuxHelp
linuxhelp.com › questions › how-to-install-make-command-in-centos
How to install MAKE command in centos
October 3, 2017 - use below steps to install Make 4.1.. # yum install centos-release-scl-rh # yum install devtoolset-6-make -y # scl enable devtoolset-6 bash hi.., i need to install make command version 4 or higher version on centos.. please help me...
Find elsewhere
🌐
Medium
tamirsuliman.medium.com › how-to-compile-install-linux-kernel-5-0-on-centos7-rhel7-b97bd5dbfa2b
How to Compile & Install Linux Kernel 5.0 on CentOS7/RHEL7 | by Tamir Suliman | Medium
May 25, 2023 - The following instructions successfully tested on CentOS 7 digital ocean virtual machine “droplet” · The procedure to build (compile) and install the latest Linux kernel from source is as follows: ... # yum install make automake vim perl openssl* elfutils-libelf- curl gcc wget flex git build-essential ncurses-devel xz-utils libssl-dev bc flex libelf-dev bison -y
🌐
nixCraft
cyberciti.biz › nixcraft › howto › centos › centos / rhel 7: install gcc (c and c++ compiler) and development tools
CentOS / RHEL 7: Install GCC (C and C++ Compiler) and Development Tools - nixCraft
April 5, 2024 - CentOS / RHEL 7: Install GCC (C and C++ Compiler) and Development Tools · Download and Install C, C++ Compiler on Red Hat Enterprise Linux 5 (RHEL) ... Vivek Gite is an expert IT Consultant with over 25 years of experience, specializing in Linux and open source solutions. He writes about Linux, macOS, Unix, IT, programming, infosec, and open source. Follow his work via RSS feed. ... We should have no space between group and install. # yum groupinstall "Development Tools"
🌐
Installati.one
installati.one › home › centos › 8th › how to install make on centos 8
How To Install make on CentOS 8 | Installati.one
August 1, 2021 - Make allows users to build and ... be built are provided for make in the program’s makefile. We can use yum or dnf to install make on CentOS 8....
🌐
CentOS Repositories
centos.pkgs.org › 7 › centos-x86_64 › make-3.82-24.el7.x86_64.rpm.html
make-3.82-24.el7.x86_64.rpm - CentOS Repositories - pkgs.org
Install make rpm package: # yum install make · 2018-12-05 - DJ Delorie <dj@redhat.com> - 1:3.82-24 - Change fatal() to error() when a mix of explicit and implicit targets (in that order) is detected. Resolves: #1582545 · 2016-07-07 - Patsy Franklin <pfrankli@redhat.com> - 1:3.82-23 - In very ...
🌐
Super User
superuser.com › questions › 607429 › install-yum-in-centos-without-make
linux - Install yum in CentOS without make - Super User
You should then be able to do something like rpm -Uvh http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm and so on to install the required packages.
🌐
Frontistr
manual.frontistr.com › en › install › install_08.html
Installation procedure to CentOS7.6(Makefile.conf) - FrontISTR ver. 5.6
We will explain how to install this software and how to build external libraries required this software on CentOS7.6. More information for building each libraries, refer to their installation manuals. At first, install the basic build toolchains and libraries as follows. $ su # yum group mark install "Development Tools" # yum update # yum install openmpi-devel cmake # exit
🌐
SharadChhetri
sharadchhetri.com › make-command-not-found-in-linux-centos-red-hat-ubuntu-debian
make command not found in linux CentOS Red Hat ubuntu Debian
December 10, 2024 - Scenario: In Virtual Box,we have only one ethernet or NIC card (eth0) while installing the CentOS.Later we added one more ethernet(eth1) but when we were using command ifconfig… ... root@drashti-Lenovo-Ideapad-320-15IKB:~# yum install make There are no enabled repos.
🌐
nixCraft
cyberciti.biz › nixcraft › howto › centos › how to use the yum command on linux (centos/rhel)
How to use the yum command on Linux (CentOS/RHEL) - nixCraft
February 18, 2025 - Explains how to use the yum command under a RHEL (Red Hat Enterprise Linux) and CentOS Linux 5.x/6.x/7.x to install and upgrade software.
Top answer
1 of 6
233

Update:
Often people want the most recent version of gcc, and devtoolset is being kept up-to-date, so maybe you want devtoolset-N where N={4,5,6,7...}, check yum for the latest available on your system). Updated the cmds below for N=7.

There is a package for gcc-7.2.1 for devtoolset-7 as an example. First you need to enable the Software Collections, then it's available in devtoolset-7:

sudo yum install centos-release-scl
sudo yum install devtoolset-7-gcc*
scl enable devtoolset-7 bash
which gcc
gcc --version
2 of 6
78

Update: Installing latest version of gcc 9: (gcc 9.3.0) - released March 12, 2020:

Same method can be applied to gcc 10 (gcc 10.1.0) - released May 7, 2020

Download file: gcc-9.3.0.tar.gz or gcc-10.1.0.tar.gz

Compile and install:

//required libraries: (some may already have been installed)
dnf install libmpc-devel mpfr-devel gmp-devel

//if dnf install libmpc-devel is not working try:
dnf --enablerepo=PowerTools install libmpc-devel

//install zlib
dnf install zlib-devel*

./configure --with-system-zlib --disable-multilib --enable-languages=c,c++

make -j 8 <== this may take around an hour or more to finish
              (depending on your cpu speed)

make install

Tested under CentOS 7.8.2003 for gcc 9.3 and gcc 10.1

Tested under CentOS 8.1.1911 for gcc 10.1 (may take more time to compile)

Results: gcc/g++ 9.3.0/10.1.0

Installing gcc 7.4 (gcc 7.4.0) - released December 6, 2018:

Download file: https://ftp.gnu.org/gnu/gcc/gcc-7.4.0/gcc-7.4.0.tar.gz

Compile and install:

//required libraries:
yum install libmpc-devel mpfr-devel gmp-devel

./configure --with-system-zlib --disable-multilib --enable-languages=c,c++

make -j 8 <== this may take around 50 minutes or less to finish with 8 threads
              (depending on your cpu speed)


make install

Result:

Notes:

1. This Stack Overflow answer will help to see how to verify the downloaded source file.

2. Use the option --prefix to install gcc to another directory other than the default one. The toplevel installation directory defaults to /usr/local. Read about gcc installation options

🌐
Power Sysadmin Blog
poweradm.com › home › make command not found on linux
Make Command Not Found on Linux - Power Sysadmin Blog
March 23, 2023 - On rpm-based Linux distribution ( Fedora, Oracle/Rocky Linux, CentOS, Fedora, and RHEL), you can install the make tool using the command: # yum install make · or · # dnf install make · Or as part of the Development tools package group (requires ...
🌐
Reintech
reintech.io › blog › install-use-yum-package-manager-centos-9
How to Install and Use YUM Package Manager on CentOS 9 | Reintech media
March 8, 2026 - YUM is a command-line package management utility for RPM-based Linux systems like CentOS 9. This article covers how to install YUM if it's missing, configure repositories, and use YUM to install, update, and remove packages.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to set up local yum repositories on centos 7
How to Setup Local Yum Repository on CentOS 7 {Easy Tutorial}
January 27, 2025 - Next, install yum-utils to give your system a better toolbox for managing repositories. Install yum-utils by entering the following: ... Download a local copy of the official CentOS repositories to your server.