How To Install kBuild on Rocky Linux 8

In this tutorial we learn how to install kBuild on Rocky Linux 8. kBuild is A cross-platform build environment

Introduction

In this tutorial we learn how to install kBuild on Rocky Linux 8.

What is kBuild

This is a GNU make fork with a set of scripts to simplify complex tasks and portable versions of various UNIX tools to ensure cross-platform portability. It is used mainly to build VirtualBox packages for RPM Fusion repository.

We can use yum or dnf to install kBuild on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install kBuild.

Install kBuild on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install kBuild

Install kBuild on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install kBuild

How To Uninstall kBuild on Rocky Linux 8

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

sudo dnf remove kBuild

kBuild Package Contents on Rocky Linux 8

/usr/bin/kDepIDB
/usr/bin/kDepObj
/usr/bin/kDepPre
/usr/bin/kObjCache
/usr/bin/kmk
/usr/bin/kmk_append
/usr/bin/kmk_ash
/usr/bin/kmk_cat
/usr/bin/kmk_chmod
/usr/bin/kmk_cmp
/usr/bin/kmk_cp
/usr/bin/kmk_echo
/usr/bin/kmk_expr
/usr/bin/kmk_gmake
/usr/bin/kmk_install
/usr/bin/kmk_ln
/usr/bin/kmk_md5sum
/usr/bin/kmk_mkdir
/usr/bin/kmk_mv
/usr/bin/kmk_printf
/usr/bin/kmk_redirect
/usr/bin/kmk_rm
/usr/bin/kmk_rmdir
/usr/bin/kmk_sed
/usr/bin/kmk_sleep
/usr/bin/kmk_test
/usr/bin/kmk_time
/usr/bin/kmk_touch
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/c6fc4b50ac44f48d5ba312d554ca4bd3f6b034
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/f77252969ed706200c0c304b2ac4bb5c0c1bd4
/usr/lib/.build-id/28
/usr/lib/.build-id/28/a65b5363e45f934b4bc8069b0308cf031592cf
/usr/lib/.build-id/33
/usr/lib/.build-id/33/d2565bad375590ea18a37c4de2073892116410
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b3c9f233ef7ace212af79f6f35ef30529736d7
/usr/lib/.build-id/47
/usr/lib/.build-id/47/df97cc93712b230c196ae2e1841c21d987b006
/usr/lib/.build-id/47/ef2b8d4558bed4b63b26c2d7159b6dbf6be7e9
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/866409b363f4d3b95bf1e443297e6e0d9805d8
/usr/lib/.build-id/4f/f5145c3a4218397505a80c28946f8e803c5595
/usr/lib/.build-id/52
/usr/lib/.build-id/52/ba632a77ff6cb650838aafbe02ca7db0581324
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/72b1e2cf8843b55b35237a31282e323a66dfec
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/6deb6ae19da528d2b9b9b610640f5a24a86143
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/de0083dc89783660554d0f2e5e79157fc55239
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/3e58114edf1b5d2d30d7e7e9078ea6cad7a30c
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/9d8978aca0e83cce9db5a20f48caf274894cca
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/fdc5567375b823ab8beabe7f5f87603be5aecd
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/5b980cb98d754a2e167757f65cf109651f00fa
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/05fbb9637a798f27d2f163bc2cb13bed32a69e
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/c7ae7f70feeb124a7603991b281da90e8f005c
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/db6f7e5519ea9135c3b050575b70b9e45a8654
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/dbd1d4ad733ff1bf3fce39df0640c300f5d554
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/e5590ff0c5e1cd1e72e8b6c648dfcbef0daa5c
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/bd34724639f75d656a628b2c555819dfa9e5b0
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/f2497ad036728ef798ef5ee2f23ebea1c591db
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/75253f81f6329acb048c051afa3eb16b0cf58a
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/645d5acdd43cadfae33bd99ba4b0e8e74be97f
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/43eb4019bc7569da903db7e0008296018b6c19
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/beaa4e9bf48f1a13d01501f661ae7ad3b82a7f
/usr/share/doc/kBuild
/usr/share/doc/kBuild/ChangeLog
/usr/share/doc/kBuild/QuickReference-kBuild.txt
/usr/share/doc/kBuild/QuickReference-kmk.html
/usr/share/doc/kBuild/QuickReference-kmk.txt
/usr/share/kBuild
/usr/share/kBuild/footer-inherit-uses-tools.kmk
/usr/share/kBuild/footer-misc.kmk
/usr/share/kBuild/footer-pass1.kmk
/usr/share/kBuild/footer-pass2-compiling-targets.kmk
/usr/share/kBuild/footer-pass2-fetches.kmk
/usr/share/kBuild/footer-pass2-installs.kmk
/usr/share/kBuild/footer-pass2-patches.kmk
/usr/share/kBuild/footer-passes.kmk
/usr/share/kBuild/footer.kmk
/usr/share/kBuild/header.kmk
/usr/share/kBuild/msgstyles
/usr/share/kBuild/msgstyles/brief.kmk
/usr/share/kBuild/msgstyles/brief2.kmk
/usr/share/kBuild/rules.kmk
/usr/share/kBuild/sdks
/usr/share/kBuild/sdks/DXSDK.kmk
/usr/share/kBuild/sdks/DXSDKAMD64.kmk
/usr/share/kBuild/sdks/DXSDKX86.kmk
/usr/share/kBuild/sdks/LIBSDL.kmk
/usr/share/kBuild/sdks/MACOSX104.kmk
/usr/share/kBuild/sdks/MACOSX104INCS.kmk
/usr/share/kBuild/sdks/MACOSX105.kmk
/usr/share/kBuild/sdks/MACOSX105INCS.kmk
/usr/share/kBuild/sdks/NT4DDK.kmk
/usr/share/kBuild/sdks/OS2DDKBASE32.kmk
/usr/share/kBuild/sdks/ReorderCompilerIncs.kmk
/usr/share/kBuild/sdks/W2K3DDK.kmk
/usr/share/kBuild/sdks/W2K3DDKAMD64.kmk
/usr/share/kBuild/sdks/W2K3DDKX86.kmk
/usr/share/kBuild/sdks/W32API.kmk
/usr/share/kBuild/sdks/WIN32SDK.kmk
/usr/share/kBuild/sdks/WIN32SDK2002.kmk
/usr/share/kBuild/sdks/WIN64SDK.kmk
/usr/share/kBuild/sdks/WINDDK.kmk
/usr/share/kBuild/sdks/WINDDK71.kmk
/usr/share/kBuild/sdks/WINDDK71WLH.kmk
/usr/share/kBuild/sdks/WINDDK71WNET.kmk
/usr/share/kBuild/sdks/WINDDK71WXP.kmk
/usr/share/kBuild/sdks/WINDDK80.kmk
/usr/share/kBuild/sdks/WINDDK80W8.kmk
/usr/share/kBuild/sdks/WINDDKW2K.kmk
/usr/share/kBuild/sdks/WINDDKWLH.kmk
/usr/share/kBuild/sdks/WINDDKWNET.kmk
/usr/share/kBuild/sdks/WINDDKWXP.kmk
/usr/share/kBuild/sdks/WINPSDK.kmk
/usr/share/kBuild/sdks/WINPSDK71.kmk
/usr/share/kBuild/sdks/WINPSDK71INCS.kmk
/usr/share/kBuild/sdks/WINPSDKINCS.kmk
/usr/share/kBuild/subfooter.kmk
/usr/share/kBuild/subheader.kmk
/usr/share/kBuild/templates
/usr/share/kBuild/templates/DUMMY.kmk
/usr/share/kBuild/tools
/usr/share/kBuild/tools/ALP.kmk
/usr/share/kBuild/tools/BISON.kmk
/usr/share/kBuild/tools/FLEX.kmk
/usr/share/kBuild/tools/GCC.kmk
/usr/share/kBuild/tools/GCC3.kmk
/usr/share/kBuild/tools/GCC32.kmk
/usr/share/kBuild/tools/GCC3OMF.kmk
/usr/share/kBuild/tools/GCC3PLAIN.kmk
/usr/share/kBuild/tools/GCC42MACHO.kmk
/usr/share/kBuild/tools/GCC4MACHO.kmk
/usr/share/kBuild/tools/GCC64.kmk
/usr/share/kBuild/tools/GXX.kmk
/usr/share/kBuild/tools/GXX3.kmk
/usr/share/kBuild/tools/GXX32.kmk
/usr/share/kBuild/tools/GXX3OMF.kmk
/usr/share/kBuild/tools/GXX3PLAIN.kmk
/usr/share/kBuild/tools/GXX42MACHO.kmk
/usr/share/kBuild/tools/GXX4MACHO.kmk
/usr/share/kBuild/tools/GXX64.kmk
/usr/share/kBuild/tools/JWASM.kmk
/usr/share/kBuild/tools/LLVMGCC42MACHO.kmk
/usr/share/kBuild/tools/LLVMGXX42MACHO.kmk
/usr/share/kBuild/tools/MASM510.kmk
/usr/share/kBuild/tools/MASM600.kmk
/usr/share/kBuild/tools/MASM610.kmk
/usr/share/kBuild/tools/MASM6PLUS.kmk
/usr/share/kBuild/tools/MASM710.kmk
/usr/share/kBuild/tools/MINGW32.kmk
/usr/share/kBuild/tools/MINGWW64.kmk
/usr/share/kBuild/tools/MSLINK510.kmk
/usr/share/kBuild/tools/NASM.kmk
/usr/share/kBuild/tools/OPENWATCOM-16.kmk
/usr/share/kBuild/tools/OPENWATCOM-WL.kmk
/usr/share/kBuild/tools/OPENWATCOM.kmk
/usr/share/kBuild/tools/StandardDTrace.kmk
/usr/share/kBuild/tools/TAR.kmk
/usr/share/kBuild/tools/TARBZ2.kmk
/usr/share/kBuild/tools/TARGZ.kmk
/usr/share/kBuild/tools/VAC308.kmk
/usr/share/kBuild/tools/VCC100.kmk
/usr/share/kBuild/tools/VCC100AMD64.kmk
/usr/share/kBuild/tools/VCC100X86.kmk
/usr/share/kBuild/tools/VCC120.kmk
/usr/share/kBuild/tools/VCC120AMD64.kmk
/usr/share/kBuild/tools/VCC120X86.kmk
/usr/share/kBuild/tools/VCC70.kmk
/usr/share/kBuild/tools/VCC80.kmk
/usr/share/kBuild/tools/VCC80AMD64.kmk
/usr/share/kBuild/tools/VCC80X86.kmk
/usr/share/kBuild/tools/WATCOMC11C-16.kmk
/usr/share/kBuild/tools/WATCOMC11C-WL.kmk
/usr/share/kBuild/tools/WATCOMC11C.kmk
/usr/share/kBuild/tools/WGET.kmk
/usr/share/kBuild/tools/XGCCAMD64LINUX.kmk
/usr/share/kBuild/tools/YACC.kmk
/usr/share/kBuild/tools/YASM.kmk
/usr/share/kBuild/tools/ZIP.kmk
/usr/share/kBuild/units
/usr/share/kBuild/units/dtrace.kmk
/usr/share/kBuild/units/gccprecomp.kmk
/usr/share/kBuild/units/lex.kmk
/usr/share/kBuild/units/qt3.kmk
/usr/share/kBuild/units/qt4.kmk
/usr/share/kBuild/units/qt5.kmk
/usr/share/kBuild/units/vccprecomp.kmk
/usr/share/kBuild/units/yacc.kmk
/usr/share/kBuild/up.kmk
/usr/share/licenses/kBuild
/usr/share/licenses/kBuild/COPYING
/usr/share/licenses/kBuild/COPYING-FDL-1.3
/usr/share/man/man1/kmk.1.gz

References

Summary

In this tutorial we learn how to install kBuild on Rocky Linux 8 using yum and dnf.