How To Install barcode on Fedora 34

barcode is Generates barcodes from text strings Generates barcodes from text strings

Introduction

In this tutorial we learn how to install barcode on Fedora 34.

What is barcode

Barcode is meant to solve most needs in barcode creation with a conventional printer. It can create printouts for the conventional product tagging standards as a few other formats. Ouput is generated as either Postscript or Encapsulated Postscript. barcode 0.98 40.fc34 x86_64 79 k barcode-0.98-40.fc34.src.rpm fedora Generates barcodes from text strings https GPLv2+ Barcode is meant to solve most needs in barcode creation with a conventional printer. It can create printouts for the conventional product tagging standards as a few other formats. Ouput is generated as either Postscript or Encapsulated Postscript.

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

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

sudo dnf -y install barcode

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

sudo yum -y install barcode

How To Uninstall barcode on Fedora 34

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

sudo dnf remove barcode

barcode Package Contents on Fedora 34

/usr/bin/barcode
/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ddb384e6b2a669ffc2072f913036b24bf99ff0
/usr/share/doc/barcode
/usr/share/doc/barcode/ChangeLog
/usr/share/doc/barcode/README
/usr/share/doc/barcode/barcode.html
/usr/share/doc/barcode/barcode.html/Bugs-and-Pending-Issues.html
/usr/share/doc/barcode/barcode.html/Overview.html
/usr/share/doc/barcode/barcode.html/PCL-Output.html
/usr/share/doc/barcode/barcode.html/Supported-Encodings.html
/usr/share/doc/barcode/barcode.html/Supported-Flags.html
/usr/share/doc/barcode/barcode.html/The-API.html
/usr/share/doc/barcode/barcode.html/The-Barcode-Object.html
/usr/share/doc/barcode/barcode.html/The-Command-Line.html
/usr/share/doc/barcode/barcode.html/The-Field-List.html
/usr/share/doc/barcode/barcode.html/The-Intermediate-Representation.html
/usr/share/doc/barcode/barcode.html/The-barcode-Executable.html
/usr/share/doc/barcode/barcode.html/index.html
/usr/share/info/barcode.info.gz
/usr/share/licenses/barcode
/usr/share/licenses/barcode/COPYING
/usr/share/man/man1/barcode.1.gz
/usr/bin/barcode
/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/ce1e74d6569d46b0795cb02b87392554e21d3d
/usr/share/doc/barcode
/usr/share/doc/barcode/ChangeLog
/usr/share/doc/barcode/README
/usr/share/doc/barcode/barcode.html
/usr/share/doc/barcode/barcode.html/Bugs-and-Pending-Issues.html
/usr/share/doc/barcode/barcode.html/Overview.html
/usr/share/doc/barcode/barcode.html/PCL-Output.html
/usr/share/doc/barcode/barcode.html/Supported-Encodings.html
/usr/share/doc/barcode/barcode.html/Supported-Flags.html
/usr/share/doc/barcode/barcode.html/The-API.html
/usr/share/doc/barcode/barcode.html/The-Barcode-Object.html
/usr/share/doc/barcode/barcode.html/The-Command-Line.html
/usr/share/doc/barcode/barcode.html/The-Field-List.html
/usr/share/doc/barcode/barcode.html/The-Intermediate-Representation.html
/usr/share/doc/barcode/barcode.html/The-barcode-Executable.html
/usr/share/doc/barcode/barcode.html/index.html
/usr/share/info/barcode.info.gz
/usr/share/licenses/barcode
/usr/share/licenses/barcode/COPYING
/usr/share/man/man1/barcode.1.gz

References

Summary

In this tutorial we learn how to install barcode on Fedora 34 using yum and dnf.