How To Install zbar on Fedora 36

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

Introduction

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

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.

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

Install zbar on Fedora 36 Using dnf

Update yum database with dnf using the following command.

---
sudo dnf makecache --refresh

title: “How To Install zbar on Fedora 36”

linkTitle: “zbar” type: “docs” After updating yum database, We can install zbar using dnf by running the following command:

description: "In this tutorial we learn how to install zbar in Fedora 36. zbar is Bar code reader"
date: "2022-08-17"
sudo dnf -y install zbar
lastmod: "2022-08-17"

#image: /images/fedora/36/zbar-featured.png

Install zbar on Fedora 36 Using yum

Introduction

Update yum database with yum using the following command.

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

### What is `zbar`
sudo yum makecache --refresh

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.

After updating yum database, We can install zbar using yum by running the following command:

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


sudo yum -y install zbar
## Install zbar on Fedora 36 Using dnf

How To Uninstall zbar on Fedora 36

Update yum database with dnf using the following command.

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


sudo dnf makecache --refresh
```bash

sudo dnf remove zbar

After updating yum database, We can install `zbar` using `dnf` by running the following command:


## zbar Package Contents on Fedora 36
```bash

sudo dnf -y install zbar
```bash

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

sudo yum -y install zbar

How To Uninstall zbar on Fedora 36

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

sudo dnf remove zbar

zbar Package Contents on Fedora 36

/etc/dbus-1/system.d/org.linuxtv.Zbar.conf
/usr/bin/zbarcam
/usr/bin/zbarimg
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/8f49cfcb3c6732d5d675ea504ec0b2bec1fcff
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/f86db45110e5177e0f613c9eca510929bcc4de
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/c0eca7c67c0b2d397f9cb3e334401b8b4210ea
/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

References

Summary

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

/etc/dbus-1/system.d/org.linuxtv.Zbar.conf /usr/bin/zbarcam /usr/bin/zbarimg /usr/lib/.build-id /usr/lib/.build-id/4a /usr/lib/.build-id/4a/ef2a6aadc7bce2f1aeaf22347b1fba9625c7bd /usr/lib/.build-id/eb /usr/lib/.build-id/eb/c8cb1e86739d41411119b5369504bb92d21645 /usr/lib/.build-id/fc /usr/lib/.build-id/fc/d458f540eb2126bc95356f187f886649908bc7 /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/)

## Summary

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