How To Install libpaper on Rocky Linux 8
Introduction
In this tutorial we learn how to install libpaper
on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libpaper.
Install libpaper on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the libpaper
package we can use the following command:
sudo dnf remove libpaper
libpaper Package Contents on Rocky Linux 8
/etc/libpaper.d
/etc/papersize
/usr/bin/paperconf
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/e7dc084ff3b7efa561b75d6d8200dd4e23ceee
/usr/lib/.build-id/99
/usr/lib/.build-id/99/d8c5d2364e3dd6095a8f09b2b3f97ba583a8cd
/usr/lib64/libpaper.so.1
/usr/lib64/libpaper.so.1.1.2
/usr/sbin/paperconfig
/usr/share/doc/libpaper
/usr/share/doc/libpaper/ChangeLog
/usr/share/doc/libpaper/README
/usr/share/licenses/libpaper
/usr/share/licenses/libpaper/COPYING
/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
/etc/libpaper.d
/etc/papersize
/usr/bin/paperconf
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/d2988702ffdd22d7c5e7c9bb36e0548924d0dc
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/3c173120f0491a482cb2bfec2802cccbc22dd1
/usr/lib/libpaper.so.1
/usr/lib/libpaper.so.1.1.2
/usr/sbin/paperconfig
/usr/share/doc/libpaper
/usr/share/doc/libpaper/ChangeLog
/usr/share/doc/libpaper/README
/usr/share/licenses/libpaper
/usr/share/licenses/libpaper/COPYING
/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
on Rocky Linux 8 using yum and dnf.