How To Install osbuild-composer-core on Rocky Linux 8

In this tutorial we learn how to install osbuild-composer-core on Rocky Linux 8. osbuild-composer-core is The core osbuild-composer binary

Introduction

In this tutorial we learn how to install osbuild-composer-core on Rocky Linux 8.

What is osbuild-composer-core

The core osbuild-composer binary. This is suitable both for spawning in containers and by systemd.

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

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

sudo dnf -y install osbuild-composer-core

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

sudo yum -y install osbuild-composer-core

How To Uninstall osbuild-composer-core on Rocky Linux 8

To uninstall only the osbuild-composer-core package we can use the following command:

sudo dnf remove osbuild-composer-core

osbuild-composer-core Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/6a76f687fe8961de867b6ac566a81b55a6e938
/usr/libexec/osbuild-composer/dnf-json
/usr/libexec/osbuild-composer/osbuild-composer
/usr/share/osbuild-composer
/usr/share/osbuild-composer/repositories
/usr/share/osbuild-composer/repositories/centos-8.json
/usr/share/osbuild-composer/repositories/centos-stream-8.json
/usr/share/osbuild-composer/repositories/fedora-32.json
/usr/share/osbuild-composer/repositories/fedora-33.json
/usr/share/osbuild-composer/repositories/rhel-8-beta.json
/usr/share/osbuild-composer/repositories/rhel-8.json
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/1ed0c2c3f7a24665aaa95800932c1989526799
/usr/libexec/osbuild-composer/dnf-json
/usr/libexec/osbuild-composer/osbuild-composer
/usr/share/osbuild-composer
/usr/share/osbuild-composer/repositories
/usr/share/osbuild-composer/repositories/centos-8.json
/usr/share/osbuild-composer/repositories/centos-stream-8.json
/usr/share/osbuild-composer/repositories/fedora-32.json
/usr/share/osbuild-composer/repositories/fedora-33.json
/usr/share/osbuild-composer/repositories/rhel-8-beta.json
/usr/share/osbuild-composer/repositories/rhel-8.json

References

Summary

In this tutorial we learn how to install osbuild-composer-core on Rocky Linux 8 using yum and dnf.