How To Install kiwi-cli on Rocky Linux 8

In this tutorial we learn how to install kiwi-cli on Rocky Linux 8. kiwi-cli is Flexible operating system appliance image builder

Introduction

In this tutorial we learn how to install kiwi-cli on Rocky Linux 8.

What is kiwi-cli

The KIWI Image System provides an operating system image builder for Linux supported hardware platforms as well as for virtualization and cloud systems like Xen, KVM, VMware, EC2 and more.

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

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

sudo dnf -y install kiwi-cli

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

sudo yum -y install kiwi-cli

How To Uninstall kiwi-cli on Rocky Linux 8

To uninstall only the kiwi-cli package we can use the following command:

sudo dnf remove kiwi-cli

kiwi-cli Package Contents on Rocky Linux 8

/etc/kiwi.yml
/usr/bin/kiwi
/usr/bin/kiwi-ng
/usr/bin/kiwicompat
/usr/share/bash-completion/completions/kiwi-ng
/usr/share/man/man8/kiwi.8.gz
/usr/share/man/man8/kiwi::image::info.8.gz
/usr/share/man/man8/kiwi::image::resize.8.gz
/usr/share/man/man8/kiwi::result::bundle.8.gz
/usr/share/man/man8/kiwi::result::list.8.gz
/usr/share/man/man8/kiwi::system::build.8.gz
/usr/share/man/man8/kiwi::system::create.8.gz
/usr/share/man/man8/kiwi::system::prepare.8.gz
/usr/share/man/man8/kiwi::system::update.8.gz

References

Summary

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