How To Install mpage on CentOS 7

In this tutorial we learn how to install mpage on CentOS 7. 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 CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mpage.

Install mpage on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mpage

Install mpage on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install mpage

How To Uninstall mpage on CentOS 7

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

sudo dnf remove mpage

References

Summary

In this tutorial we learn how to install mpage on CentOS 7 using yum and dnf.