How To Install zmk on Fedora 36

In this tutorial we learn how to install zmk in Fedora 36. zmk is Collection of reusable Makefiles

Introduction

In this tutorial we learn how to install zmk on Fedora 36.

What is zmk

Collection of make-files implementing a system similar to auto-tools, but without the generated files that make understanding system behavior harder. Highlights include - Describe programs, test programs, static libraries, shared libraries, development headers, manual pages and more - Use familiar targets like “all”, “check”, “install” and “clean” - Works out of the box on popular distributions of Linux and MacOS - Friendly to distribution packaging expecting auto-tools - Compile with gcc, clang, tcc or the open-watcom compilers - Cross compile with gcc and open-watcom - Efficient and incremental, including the install target

We can use yum or dnf to install zmk on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zmk.

Install zmk on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install zmk

Install zmk on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install zmk

How To Uninstall zmk on Fedora 36

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

sudo dnf remove zmk

zmk Package Contents on Fedora 36

/usr/include/z.mk
/usr/include/zmk
/usr/include/zmk/AllClean.mk
/usr/include/zmk/ClangAnalyzer.mk
/usr/include/zmk/ClangTidy.mk
/usr/include/zmk/Configure.mk
/usr/include/zmk/Coverity.mk
/usr/include/zmk/CppCheck.mk
/usr/include/zmk/Directories.mk
/usr/include/zmk/Directory.mk
/usr/include/zmk/GitVersion.mk
/usr/include/zmk/Header.mk
/usr/include/zmk/HeaderGroup.mk
/usr/include/zmk/InstallUninstall.mk
/usr/include/zmk/Library.A.mk
/usr/include/zmk/Library.DyLib.mk
/usr/include/zmk/Library.So.mk
/usr/include/zmk/ManPage.mk
/usr/include/zmk/OS.mk
/usr/include/zmk/ObjectGroup.mk
/usr/include/zmk/PVS.mk
/usr/include/zmk/Program.Test.mk
/usr/include/zmk/Program.mk
/usr/include/zmk/Script.mk
/usr/include/zmk/Silent.mk
/usr/include/zmk/Sparse.mk
/usr/include/zmk/Symlink.mk
/usr/include/zmk/Tarball.Src.mk
/usr/include/zmk/Tarball.mk
/usr/include/zmk/Toolchain.mk
/usr/include/zmk/internalTest.mk
/usr/include/zmk/pvs-filter.awk
/usr/include/zmk/toolchain.Clang.mk
/usr/include/zmk/toolchain.GCC.mk
/usr/include/zmk/toolchain.Tcc.mk
/usr/include/zmk/toolchain.Watcom.mk
/usr/share/doc/zmk
/usr/share/doc/zmk/NEWS
/usr/share/licenses/zmk
/usr/share/licenses/zmk/LICENSE
/usr/share/man/man5/z.mk.5.gz
/usr/share/man/man5/zmk.AllClean.5.gz
/usr/share/man/man5/zmk.Configure.5.gz
/usr/share/man/man5/zmk.Coverity.5.gz
/usr/share/man/man5/zmk.Directories.5.gz
/usr/share/man/man5/zmk.Library.A.5.gz
/usr/share/man/man5/zmk.Library.DyLib.5.gz
/usr/share/man/man5/zmk.Library.So.5.gz
/usr/share/man/man5/zmk.OS.5.gz
/usr/share/man/man5/zmk.Program.5.gz
/usr/share/man/man5/zmk.Script.5.gz
/usr/share/man/man5/zmk.Silent.5.gz
/usr/share/man/man5/zmk.Symlink.5.gz
/usr/share/man/man5/zmk.Toolchain.5.gz

References

Summary

In this tutorial we learn how to install zmk on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).