How To Install libpaper.i686 on Amazon Linux 2

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

Introduction

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

What is libpaper.i686

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

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

sudo yum -y install libpaper.i686

How To Uninstall libpaper.i686 on Amazon Linux 2

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

sudo yum remove libpaper.i686

libpaper.i686 Package Contents on Amazon Linux 2

/etc/libpaper.d
/etc/papersize
/usr/bin/paperconf
/usr/lib/libpaper.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.