How To Install zbar-gi on Fedora 36
Introduction
In this tutorial we learn how to install zbar-gi
on Fedora 36.
What is zbar-gi
This package contains a bar code scanning GObject Introspection (GIR) Gtk bindings, with allow the usage of ZBar with GUI support on any application compatible with GIR, like python3.
We can use yum
or dnf
to install zbar-gi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zbar-gi.
Install zbar-gi 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-gi
using dnf
by running the following command:
sudo dnf -y install zbar-gi
Install zbar-gi 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-gi
using yum
by running the following command:
sudo yum -y install zbar-gi
How To Uninstall zbar-gi on Fedora 36
To uninstall only the zbar-gi
package we can use the following command:
sudo dnf remove zbar-gi
zbar-gi Package Contents on Fedora 36
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/ZBar-1.0.typelib
/usr/share/gir-1.0
/usr/share/gir-1.0/ZBar-1.0.gir
References
Summary
In this tutorial we learn how to install zbar-gi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).