How To Install zbar-python3 on Fedora 36

In this tutorial we learn how to install zbar-python3 in Fedora 36. zbar-python3 is Bar code reader PyGTK widget

Introduction

In this tutorial we learn how to install zbar-python3 on Fedora 36.

What is zbar-python3

This package contains a bar code scanning widget for use on python applications that work with images.

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

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

sudo dnf -y install zbar-python3

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

sudo yum -y install zbar-python3

How To Uninstall zbar-python3 on Fedora 36

To uninstall only the zbar-python3 package we can use the following command:

sudo dnf remove zbar-python3

zbar-python3 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/9b8dde750b5f601f0ef175e51bd6999ff04436
/usr/lib64/python3.10/site-packages/zbar.so
/usr/share/doc/test_python.py

References

Summary

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