How To Install libpaper on AlmaLinux 8

In this tutorial we learn how to install libpaper in AlmaLinux 8. libpaper is Library and tools for handling papersize

Introduction

In this tutorial we learn how to install libpaper on AlmaLinux 8.

What is libpaper

The paper library and accompanying files are intended to provide a simple way for applications to take actions based on a system- or user-specified paper size. This release is quite minimal, its purpose being to provide really basic functions (obtaining the system paper name and getting the height and width of a given kind of paper) that applications can immediately integrate.

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

Install libpaper on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libpaper

Install libpaper on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libpaper

How To Uninstall libpaper on AlmaLinux 8

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

sudo dnf remove libpaper

References

Summary

In this tutorial we learn how to install libpaper on AlmaLinux 8 using yum and dnf.