How To Install zbar on Fedora 34
Introduction
In this tutorial we learn how to install zbar
on Fedora 34.
What is zbar
ZBar Bar Code Reader is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code and SQ Code. zbar 0.23 8.fc34 x86_64 166 k zbar-0.23-8.fc34.src.rpm fedora Bar code reader http LGPLv2+ ZBar Bar Code Reader is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code and SQ Code.
We can use yum
or dnf
to install zbar
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install zbar.
Install zbar on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zbar
using dnf
by running the following command:
sudo dnf -y install zbar
Install zbar on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zbar
using yum
by running the following command:
sudo yum -y install zbar
How To Uninstall zbar on Fedora 34
To uninstall only the zbar
package we can use the following command:
sudo dnf remove zbar
zbar Package Contents on Fedora 34
/etc/dbus-1/system.d/org.linuxtv.Zbar.conf
/usr/bin/zbarcam
/usr/bin/zbarimg
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/1fa2179caab0aadde84c885aa1e9ab61cf885d
/usr/lib/.build-id/96
/usr/lib/.build-id/96/44b995e767ae91b3af6a73e3915afbf233bdcb
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/1165fcff7ac036b8812844f8fc0e19dcf70567
/usr/lib/libzbar.so.0
/usr/lib/libzbar.so.0.3.0
/usr/share/doc/zbar
/usr/share/doc/zbar/INSTALL.md
/usr/share/doc/zbar/NEWS.md
/usr/share/doc/zbar/README.md
/usr/share/licenses/zbar
/usr/share/licenses/zbar/COPYING
/usr/share/licenses/zbar/LICENSE.md
/usr/share/man/man1/zbarcam.1.gz
/usr/share/man/man1/zbarimg.1.gz
/etc/dbus-1/system.d/org.linuxtv.Zbar.conf
/usr/bin/zbarcam
/usr/bin/zbarimg
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e5bc400fed53d85e038aa4086134f19e8de265
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/c264495b709d843c16cb625992907af182564c
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/27c09b729b3d2f2c4320a0025c65926639d703
/usr/lib64/libzbar.so.0
/usr/lib64/libzbar.so.0.3.0
/usr/share/doc/zbar
/usr/share/doc/zbar/INSTALL.md
/usr/share/doc/zbar/NEWS.md
/usr/share/doc/zbar/README.md
/usr/share/licenses/zbar
/usr/share/licenses/zbar/COPYING
/usr/share/licenses/zbar/LICENSE.md
/usr/share/man/man1/zbarcam.1.gz
/usr/share/man/man1/zbarimg.1.gz
References
- [zbar website](http://zbar.sourceforge.net/ http://zbar.sourceforge.net/)
Summary
In this tutorial we learn how to install zbar
on Fedora 34 using yum and dnf.