How To Install podofo on CentOS 7

In this tutorial we learn how to install podofo on CentOS 7. podofo is Tools and libraries to work with the PDF file format

Introduction

In this tutorial we learn how to install podofo on CentOS 7.

What is podofo

PoDoFo is a library to work with the PDF file format. The name comes from the first letter of PDF (Portable Document Format). A few tools to work with PDF files are already included in the PoDoFo package. The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo.

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

Install podofo on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install podofo

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

sudo dnf -y install podofo

How To Uninstall podofo on CentOS 7

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

sudo dnf remove podofo

References

Summary

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