How To Install make on Fedora 34

make is A GNU tool which simplifies the build process for users

Introduction

In this tutorial we learn how to install make on Fedora 34.

What is 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 make on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install make.

Install make on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install make

Install make on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install make

How To Uninstall make on Fedora 34

To uninstall only the make package we can use the following command:

sudo dnf remove make

make Package Contents on Fedora 34

/usr/bin/gmake
/usr/bin/make
/usr/include/gnumake.h
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/6b6e5cc7cfed96a96f4fea97f9d7e6b9ff72e7
/usr/share/doc/make
/usr/share/doc/make/AUTHORS
/usr/share/doc/make/NEWS
/usr/share/doc/make/README
/usr/share/info/make.info-1.gz
/usr/share/info/make.info-2.gz
/usr/share/info/make.info.gz
/usr/share/licenses/make
/usr/share/licenses/make/COPYING
/usr/share/locale/be/LC_MESSAGES/make.mo
/usr/share/locale/bg/LC_MESSAGES/make.mo
/usr/share/locale/cs/LC_MESSAGES/make.mo
/usr/share/locale/da/LC_MESSAGES/make.mo
/usr/share/locale/de/LC_MESSAGES/make.mo
/usr/share/locale/es/LC_MESSAGES/make.mo
/usr/share/locale/fi/LC_MESSAGES/make.mo
/usr/share/locale/fr/LC_MESSAGES/make.mo
/usr/share/locale/ga/LC_MESSAGES/make.mo
/usr/share/locale/gl/LC_MESSAGES/make.mo
/usr/share/locale/he/LC_MESSAGES/make.mo
/usr/share/locale/hr/LC_MESSAGES/make.mo
/usr/share/locale/id/LC_MESSAGES/make.mo
/usr/share/locale/it/LC_MESSAGES/make.mo
/usr/share/locale/ja/LC_MESSAGES/make.mo
/usr/share/locale/ko/LC_MESSAGES/make.mo
/usr/share/locale/lt/LC_MESSAGES/make.mo
/usr/share/locale/nl/LC_MESSAGES/make.mo
/usr/share/locale/pl/LC_MESSAGES/make.mo
/usr/share/locale/pt/LC_MESSAGES/make.mo
/usr/share/locale/pt_BR/LC_MESSAGES/make.mo
/usr/share/locale/ru/LC_MESSAGES/make.mo
/usr/share/locale/sr/LC_MESSAGES/make.mo
/usr/share/locale/sv/LC_MESSAGES/make.mo
/usr/share/locale/tr/LC_MESSAGES/make.mo
/usr/share/locale/uk/LC_MESSAGES/make.mo
/usr/share/locale/vi/LC_MESSAGES/make.mo
/usr/share/locale/zh_CN/LC_MESSAGES/make.mo
/usr/share/locale/zh_TW/LC_MESSAGES/make.mo
/usr/share/man/man1/gmake.1.gz
/usr/share/man/man1/make.1.gz

References

Summary

In this tutorial we learn how to install make on Fedora 34 using yum and dnf.