How To Install b4 on Fedora 36

In this tutorial we learn how to install b4 in Fedora 36. b4 is A helper tool to work with public-inbox and patch series

Introduction

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

What is b4

B4 is a helper utility to work with patches made available via a public-inbox archive like lore.kernel.org. It is written to make it easier to participate in a patch-based workflows, like those used in the Linux kernel development.

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

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

sudo dnf -y install b4

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

sudo yum -y install b4

How To Uninstall b4 on Fedora 36

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

sudo dnf remove b4

b4 Package Contents on Fedora 36

/usr/bin/b4
/usr/lib/python3.10/site-packages/b4
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/COPYING
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/b4-0.8.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/b4/__init__.py
/usr/lib/python3.10/site-packages/b4/__pycache__
/usr/lib/python3.10/site-packages/b4/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/attest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/attest.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/command.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/command.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/diff.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/diff.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/kr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/kr.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/mbox.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/mbox.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/pr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/pr.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/ty.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/b4/__pycache__/ty.cpython-310.pyc
/usr/lib/python3.10/site-packages/b4/attest.py
/usr/lib/python3.10/site-packages/b4/command.py
/usr/lib/python3.10/site-packages/b4/diff.py
/usr/lib/python3.10/site-packages/b4/kr.py
/usr/lib/python3.10/site-packages/b4/mbox.py
/usr/lib/python3.10/site-packages/b4/pr.py
/usr/lib/python3.10/site-packages/b4/ty.py
/usr/share/doc/b4
/usr/share/doc/b4/README.rst
/usr/share/licenses/b4
/usr/share/licenses/b4/COPYING
/usr/share/man/man5/b4.5.gz

References

Summary

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