How To Install zmk on Fedora 34

zmk is Collection of reusable Makefiles

Introduction

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

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

Install zmk 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 zmk using dnf by running the following command:

sudo dnf -y install zmk

Install zmk 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 zmk using yum by running the following command:

sudo yum -y install zmk

How To Uninstall zmk on Fedora 34

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

sudo dnf remove zmk

zmk Package Contents on Fedora 34

/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 34 using yum and dnf.