How To Install auto-buildrequires on Fedora 36

In this tutorial we learn how to install auto-buildrequires in Fedora 36. auto-buildrequires is Work out BuildRequires for rpmbuild automatically

Introduction

In this tutorial we learn how to install auto-buildrequires on Fedora 36.

What is auto-buildrequires

Auto-BuildRequires is a simple set of scripts for automatically suggesting BuildRequires lines for programs.

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

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

sudo dnf -y install auto-buildrequires

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

sudo yum -y install auto-buildrequires

How To Uninstall auto-buildrequires on Fedora 36

To uninstall only the auto-buildrequires package we can use the following command:

sudo dnf remove auto-buildrequires

auto-buildrequires Package Contents on Fedora 36

/usr/bin/auto-br
/usr/bin/auto-br-rpmbuild
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/c84195c1c25aa9dea96acd43c768c4b930c79b
/usr/libexec/auto-br-analyze.pl
/usr/libexec/auto-buildrequires-preload.so
/usr/share/doc/auto-buildrequires
/usr/share/doc/auto-buildrequires/COPYING
/usr/share/doc/auto-buildrequires/README
/usr/share/man/man1/auto-br-rpmbuild.1.gz
/usr/share/man/man1/auto-br.1.gz
/usr/share/man/man1/autobuildrequires.1.gz

References

Summary

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