How To Install libpaper on Fedora 34

libpaper is Library and tools for handling papersize Library and tools for handling papersize

Introduction

In this tutorial we learn how to install libpaper on Fedora 34.

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. libpaper 1.1.28 2.fc34 x86_64 41 k libpaper-1.1.28-2.fc34.src.rpm fedora Library and tools for handling papersize http GPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libpaper.

Install libpaper on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libpaper

Install libpaper on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libpaper

libpaper Package Contents on Fedora 34

/etc/libpaper.d
/etc/papersize
/usr/bin/paperconf
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/a65079ceba7a0118f3a1e1191a8ccd818dfcc2
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/618716dccd2ebb1d4f6792ae07d801b04210a1
/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/72
/usr/lib/.build-id/72/054871e9a3b266977248bcd70a96294e7b8d07
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/52c8c6d9a495070defbb4f55c25c1d6ca3df88
/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 Fedora 34 using yum and dnf.