How To Install bakefile on Fedora 34

bakefile is A cross-platform, cross-compiler native makefiles generator

Introduction

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

What is bakefile

Bakefile is cross-platform, cross-compiler native makefiles generator. It takes compiler-independent description of build tasks as input and generates native makefile (autoconf’s Makefile.in, Visual C++ project, bcc makefile etc.)

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

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

sudo dnf -y install bakefile

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

sudo yum -y install bakefile

How To Uninstall bakefile on Fedora 34

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

sudo dnf remove bakefile

bakefile Package Contents on Fedora 34

/usr/bin/bakefile
/usr/bin/bakefile_gen
/usr/bin/bakefilize
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/4c6f00c304b61fcfcd0397d58402a9f1decdb2
/usr/lib64/bakefile
/usr/lib64/bakefile/__pycache__
/usr/lib64/bakefile/__pycache__/bakefile.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/bakefile.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/bakefile_gen.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/bakefile_gen.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/bkl_c.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/bkl_c.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/config.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/containers.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/containers.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/dependencies.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/dependencies.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/errors.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/errors.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/finalize.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/finalize.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/flatten.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/flatten.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/formats.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/formats.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/mk.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/mk.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/mk_dump.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/mk_dump.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/outmethods.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/outmethods.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/portautils.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/portautils.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/reader.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/reader.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/utils.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/version.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/writer.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/writer.cpython-39.pyc
/usr/lib64/bakefile/__pycache__/xmlparser.cpython-39.opt-1.pyc
/usr/lib64/bakefile/__pycache__/xmlparser.cpython-39.pyc
/usr/lib64/bakefile/_bkl_c.so
/usr/lib64/bakefile/bakefile.py
/usr/lib64/bakefile/bakefile_gen.py
/usr/lib64/bakefile/bkl_c.py
/usr/lib64/bakefile/config.py
/usr/lib64/bakefile/containers.py
/usr/lib64/bakefile/dependencies.py
/usr/lib64/bakefile/errors.py
/usr/lib64/bakefile/finalize.py
/usr/lib64/bakefile/flatten.py
/usr/lib64/bakefile/formats.py
/usr/lib64/bakefile/mk.py
/usr/lib64/bakefile/mk_dump.py
/usr/lib64/bakefile/outmethods.py
/usr/lib64/bakefile/portautils.py
/usr/lib64/bakefile/reader.py
/usr/lib64/bakefile/utils.py
/usr/lib64/bakefile/version.py
/usr/lib64/bakefile/writer.py
/usr/lib64/bakefile/xmlparser.py
/usr/share/aclocal/bakefile-dllar.m4
/usr/share/aclocal/bakefile-lang.m4
/usr/share/aclocal/bakefile.m4
/usr/share/bakefile
/usr/share/bakefile/output
/usr/share/bakefile/output/_hdr_config.empy
/usr/share/bakefile/output/_hdr_makefile.empy
/usr/share/bakefile/output/autoconf-macros.empy
/usr/share/bakefile/output/autoconf.empy
/usr/share/bakefile/output/borland-opts.empy
/usr/share/bakefile/output/borland.empy
/usr/share/bakefile/output/dmars-opts.empy
/usr/share/bakefile/output/dmars.empy
/usr/share/bakefile/output/dmars_smake.empy
/usr/share/bakefile/output/gnumake-opts.empy
/usr/share/bakefile/output/gnumake.empy
/usr/share/bakefile/output/msevc4prj.py
/usr/share/bakefile/output/msvc-opts.empy
/usr/share/bakefile/output/msvc.empy
/usr/share/bakefile/output/msvc6prj.py
/usr/share/bakefile/output/msvc_common.py
/usr/share/bakefile/output/msvs200xprj.py
/usr/share/bakefile/output/symbian.py
/usr/share/bakefile/output/watcom-opts.empy
/usr/share/bakefile/output/watcom.empy
/usr/share/bakefile/output/xcode2.py
/usr/share/bakefile/presets
/usr/share/bakefile/presets/fake.bkl
/usr/share/bakefile/presets/simple.bkl
/usr/share/bakefile/rules
/usr/share/bakefile/rules/FORMATS.bkmanifest
/usr/share/bakefile/rules/autoconf.bkl
/usr/share/bakefile/rules/borland.bkl
/usr/share/bakefile/rules/common.bkl
/usr/share/bakefile/rules/dirs.bkl
/usr/share/bakefile/rules/dmars.bkl
/usr/share/bakefile/rules/dmars_common.bkl
/usr/share/bakefile/rules/dmars_smake.bkl
/usr/share/bakefile/rules/format_features.bkl
/usr/share/bakefile/rules/gnu.bkl
/usr/share/bakefile/rules/makefile.bkl
/usr/share/bakefile/rules/makefile_defs_borland.bkl
/usr/share/bakefile/rules/makefile_defs_cw.bkl
/usr/share/bakefile/rules/makefile_defs_dmars.bkl
/usr/share/bakefile/rules/makefile_defs_dmars_common.bkl
/usr/share/bakefile/rules/makefile_defs_dmars_smake.bkl
/usr/share/bakefile/rules/makefile_defs_gnu.bkl
/usr/share/bakefile/rules/makefile_defs_mingw.bkl
/usr/share/bakefile/rules/makefile_defs_msvc.bkl
/usr/share/bakefile/rules/makefile_defs_suncc.bkl
/usr/share/bakefile/rules/makefile_defs_unix.bkl
/usr/share/bakefile/rules/makefile_defs_watcom.bkl
/usr/share/bakefile/rules/makefile_mingw.bkl
/usr/share/bakefile/rules/makefile_os2.bkl
/usr/share/bakefile/rules/mingw.bkl
/usr/share/bakefile/rules/modules
/usr/share/bakefile/rules/modules/datafiles.bkl
/usr/share/bakefile/rules/modules/gettext
/usr/share/bakefile/rules/modules/gettext/autoconf.bkl
/usr/share/bakefile/rules/modules/gettext/common.bkl
/usr/share/bakefile/rules/modules/pkgconfig.bkl
/usr/share/bakefile/rules/msevc4prj.bkl
/usr/share/bakefile/rules/msvc.bkl
/usr/share/bakefile/rules/msvc6prj.bkl
/usr/share/bakefile/rules/msvc_common.bkl
/usr/share/bakefile/rules/msvc_prj_common.bkl
/usr/share/bakefile/rules/msvc_prj_dsp_common.bkl
/usr/share/bakefile/rules/msvc_prj_vcproj_common.bkl
/usr/share/bakefile/rules/msvs2003prj.bkl
/usr/share/bakefile/rules/msvs2005prj.bkl
/usr/share/bakefile/rules/msvs2008prj.bkl
/usr/share/bakefile/rules/msvs200xprj.bkl
/usr/share/bakefile/rules/suncc.bkl
/usr/share/bakefile/rules/symbian.bkl
/usr/share/bakefile/rules/unixlike.bkl
/usr/share/bakefile/rules/version.bkl
/usr/share/bakefile/rules/watcom.bkl
/usr/share/bakefile/rules/win32.bkl
/usr/share/bakefile/rules/xcode2.bkl
/usr/share/bakefile/schema
/usr/share/bakefile/schema/bakefile-formats.xsd
/usr/share/bakefile/schema/bakefile-gen.xsd
/usr/share/doc/bakefile
/usr/share/doc/bakefile/AUTHORS
/usr/share/doc/bakefile/COPYING
/usr/share/doc/bakefile/NEWS
/usr/share/doc/bakefile/README
/usr/share/doc/bakefile/THANKS
/usr/share/man/man1/bakefile.1.gz
/usr/share/man/man1/bakefile_gen.1.gz
/usr/share/man/man1/bakefilize.1.gz

References

Summary

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