How To Install libpaper on CentOS 7

In this tutorial we learn how to install libpaper on CentOS 7. libpaper is Library and tools for handling papersize

Introduction

In this tutorial we learn how to install libpaper on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libpaper.

Install libpaper on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libpaper

Install libpaper on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libpaper

How To Uninstall libpaper on CentOS 7

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 CentOS 7 using yum and dnf.