How To Install osbs-client on Fedora 36

In this tutorial we learn how to install osbs-client in Fedora 36. osbs-client is Python command line client for OpenShift Build Service

Introduction

In this tutorial we learn how to install osbs-client on Fedora 36.

What is osbs-client

It is able to query OpenShift v3 for various stuff related to building images. It can initiate builds, list builds, get info about builds, get build logs… This package contains osbs command line client.

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

Install osbs-client on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install osbs-client

Install osbs-client on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install osbs-client using yum by running the following command:

sudo yum -y install osbs-client

How To Uninstall osbs-client on Fedora 36

To uninstall only the osbs-client package we can use the following command:

sudo dnf remove osbs-client

osbs-client Package Contents on Fedora 36

/usr/bin/osbs
/usr/share/doc/osbs-client
/usr/share/doc/osbs-client/README.md

References

Summary

In this tutorial we learn how to install osbs-client on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).