How To Install lprint on Fedora 34

lprint is A Label Printer Application

Introduction

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

What is lprint

LPrint is a label printer application for macOS and Linux. Basically, LPrint is a print spooler optimized for label printing. It accepts “raw” print data as well as PNG images (like those used for shipping labels by most shippers’ current web APIs) and has built-in “drivers” to send the print data to USB and network-connected label printers.

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

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

sudo dnf -y install lprint

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

sudo yum -y install lprint

How To Uninstall lprint on Fedora 34

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

sudo dnf remove lprint

lprint Package Contents on Fedora 34

/usr/bin/lprint
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/0f2bf95bb529907ca19b05a7827d6db9941868
/usr/share/doc/lprint
/usr/share/doc/lprint/CHANGES.md
/usr/share/doc/lprint/CONTRIBUTING.md
/usr/share/doc/lprint/DESIGN.md
/usr/share/doc/lprint/DOCUMENTATION.md
/usr/share/doc/lprint/README.md
/usr/share/licenses/lprint
/usr/share/licenses/lprint/LICENSE
/usr/share/licenses/lprint/NOTICE
/usr/share/man/man1/lprint-add.1.gz
/usr/share/man/man1/lprint-cancel.1.gz
/usr/share/man/man1/lprint-default.1.gz
/usr/share/man/man1/lprint-delete.1.gz
/usr/share/man/man1/lprint-devices.1.gz
/usr/share/man/man1/lprint-drivers.1.gz
/usr/share/man/man1/lprint-jobs.1.gz
/usr/share/man/man1/lprint-modify.1.gz
/usr/share/man/man1/lprint-printers.1.gz
/usr/share/man/man1/lprint-server.1.gz
/usr/share/man/man1/lprint-shutdown.1.gz
/usr/share/man/man1/lprint-status.1.gz
/usr/share/man/man1/lprint-submit.1.gz
/usr/share/man/man1/lprint.1.gz
/usr/share/man/man5/lprint.conf.5.gz

References

Summary

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