How To Install libpaper.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libpaper.x86_64 in Amazon Linux 2. libpaper.x86_64 is Library and tools for handling papersize

Introduction

In this tutorial we learn how to install libpaper.x86_64 on Amazon Linux 2.

What is libpaper.x86_64

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

Install libpaper.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libpaper.x86_64

How To Uninstall libpaper.x86_64 on Amazon Linux 2

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

sudo yum remove libpaper.x86_64

libpaper.x86_64 Package Contents on Amazon Linux 2

/etc/libpaper.d
/etc/papersize
/usr/bin/paperconf
/usr/lib64/libpaper.so.1
/usr/lib64/libpaper.so.1.1.2
/usr/sbin/paperconfig
/usr/share/doc/libpaper-1.1.24
/usr/share/doc/libpaper-1.1.24/COPYING
/usr/share/doc/libpaper-1.1.24/ChangeLog
/usr/share/doc/libpaper-1.1.24/README
/usr/share/locale/cs/LC_MESSAGES/libpaper.mo
/usr/share/locale/da/LC_MESSAGES/libpaper.mo
/usr/share/locale/de/LC_MESSAGES/libpaper.mo
/usr/share/locale/es/LC_MESSAGES/libpaper.mo
/usr/share/locale/fr/LC_MESSAGES/libpaper.mo
/usr/share/locale/gl/LC_MESSAGES/libpaper.mo
/usr/share/locale/hu/LC_MESSAGES/libpaper.mo
/usr/share/locale/it/LC_MESSAGES/libpaper.mo
/usr/share/locale/ja/LC_MESSAGES/libpaper.mo
/usr/share/locale/nl/LC_MESSAGES/libpaper.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libpaper.mo
/usr/share/locale/sv/LC_MESSAGES/libpaper.mo
/usr/share/locale/tr/LC_MESSAGES/libpaper.mo
/usr/share/locale/uk/LC_MESSAGES/libpaper.mo
/usr/share/locale/vi/LC_MESSAGES/libpaper.mo
/usr/share/man/man1/paperconf.1.gz
/usr/share/man/man5/papersize.5.gz
/usr/share/man/man8/paperconfig.8.gz

References

Summary

In this tutorial we learn how to install libpaper.x86_64 on Amazon Linux 2 using yum.