How To Install obs-service-rust2rpm on Fedora 36

In this tutorial we learn how to install obs-service-rust2rpm in Fedora 36. obs-service-rust2rpm is OBS source service

Introduction

In this tutorial we learn how to install obs-service-rust2rpm on Fedora 36.

What is obs-service-rust2rpm

This is a source service for openSUSE Build Service. This simply runs rust2rpm for a given Rust crate on crates.io to generate RPM packaging to build packages for crates.

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

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

sudo dnf -y install obs-service-rust2rpm

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

sudo yum -y install obs-service-rust2rpm

How To Uninstall obs-service-rust2rpm on Fedora 36

To uninstall only the obs-service-rust2rpm package we can use the following command:

sudo dnf remove obs-service-rust2rpm

obs-service-rust2rpm Package Contents on Fedora 36

/usr/lib/obs
/usr/lib/obs/service
/usr/lib/obs/service/rust2rpm
/usr/lib/obs/service/rust2rpm.service
/usr/share/doc/obs-service-rust2rpm
/usr/share/doc/obs-service-rust2rpm/CONTRIBUTING.md
/usr/share/doc/obs-service-rust2rpm/README.md
/usr/share/licenses/obs-service-rust2rpm
/usr/share/licenses/obs-service-rust2rpm/LICENSE
/var/cache/obs
/var/cache/obs/rust2rpm

References

Summary

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