How To Install go2rpm on Fedora 36

In this tutorial we learn how to install go2rpm in Fedora 36. go2rpm is Convert Go packages to RPM

Introduction

In this tutorial we learn how to install go2rpm on Fedora 36.

What is go2rpm

Convert Go packages to RPM.

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

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

sudo dnf -y install go2rpm

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

sudo yum -y install go2rpm

How To Uninstall go2rpm on Fedora 36

To uninstall only the go2rpm package we can use the following command:

sudo dnf remove go2rpm

go2rpm Package Contents on Fedora 36

/usr/bin/go2rpm
/usr/lib/python3.10/site-packages/go2rpm
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/go2rpm-1.6.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/go2rpm/__init__.py
/usr/lib/python3.10/site-packages/go2rpm/__main__.py
/usr/lib/python3.10/site-packages/go2rpm/__pycache__
/usr/lib/python3.10/site-packages/go2rpm/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/go2rpm/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/go2rpm/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/go2rpm/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/go2rpm/templates
/usr/lib/python3.10/site-packages/go2rpm/templates/profile1.spec
/usr/lib/python3.10/site-packages/go2rpm/templates/profile2.spec
/usr/share/licenses/go2rpm
/usr/share/licenses/go2rpm/LICENSE

References

Summary

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