How To Install mpage on Fedora 34

mpage is A tool for printing multiple pages of text on each printed page

Introduction

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

What is mpage

The mpage utility takes plain text files or PostScript(TM) documents as input, reduces the size of the text, and prints the files on a PostScript printer with several pages on each sheet of paper. Mpage is very useful for viewing large printouts without using up lots of paper. Mpage supports many different layout options for the printed pages.

We can use yum or dnf to install mpage on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mpage.

Install mpage 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 mpage using dnf by running the following command:

sudo dnf -y install mpage

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

sudo yum -y install mpage

How To Uninstall mpage on Fedora 34

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

sudo dnf remove mpage

mpage Package Contents on Fedora 34

/usr/bin/mpage
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e3166aefc3cebb6408788f4b38fa3d36ea081c
/usr/share/doc/mpage
/usr/share/doc/mpage/CHANGES
/usr/share/doc/mpage/Copyright
/usr/share/doc/mpage/FAQ
/usr/share/doc/mpage/NEWS
/usr/share/doc/mpage/README
/usr/share/doc/mpage/TODO
/usr/share/licenses/mpage
/usr/share/licenses/mpage/COPYING
/usr/share/man/man1/mpage.1.gz
/usr/share/mpage
/usr/share/mpage/CP850.PC
/usr/share/mpage/ISO+STD+OTH
/usr/share/mpage/ISO-8859.1
/usr/share/mpage/ISO-8859.15
/usr/share/mpage/ISO-Latin.1
/usr/share/mpage/ISO-Latin.2

References

Summary

In this tutorial we learn how to install mpage on Fedora 34 using yum and dnf.