How To Install cranc on Fedora 36

In this tutorial we learn how to install cranc in Fedora 36. cranc is Pagure CLI for handling pull requests

Introduction

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

What is cranc

Cranc is a Pagure command line interface tool

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

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

sudo dnf -y install cranc

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

sudo yum -y install cranc

How To Uninstall cranc on Fedora 36

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

sudo dnf remove cranc

cranc Package Contents on Fedora 36

/usr/bin/cranc
/usr/lib/python3.10/site-packages/cranc
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/cranc-1.1.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/cranc/__init__.py
/usr/lib/python3.10/site-packages/cranc/__pycache__
/usr/lib/python3.10/site-packages/cranc/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/__pycache__/cranc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/__pycache__/cranc.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/commands
/usr/lib/python3.10/site-packages/cranc/commands/__init__.py
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/create.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/create.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/get.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/get.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/merge.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cranc/commands/__pycache__/merge.cpython-310.pyc
/usr/lib/python3.10/site-packages/cranc/commands/create.py
/usr/lib/python3.10/site-packages/cranc/commands/get.py
/usr/lib/python3.10/site-packages/cranc/commands/merge.py
/usr/lib/python3.10/site-packages/cranc/cranc.py
/usr/lib/python3.10/site-packages/cranc/utils.py
/usr/share/doc/cranc
/usr/share/doc/cranc/README.rst
/usr/share/licenses/cranc
/usr/share/licenses/cranc/LICENSE

References

Summary

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