How To Install agg on CentOS 7

In this tutorial we learn how to install agg on CentOS 7. agg is Anti-Grain Geometry graphical rendering engine

Introduction

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

What is agg

A High Quality Rendering Engine for C++. A High Quality Rendering Engine for C++.

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

Install agg on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install agg

Install agg on CentOS 7 Using dnf

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

sudo dnf makecache

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

sudo dnf -y install agg

How To Uninstall agg on CentOS 7

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

sudo dnf remove agg

agg Package Contents on CentOS 7

/usr/lib/libagg.so.2
/usr/lib/libagg.so.2.0.4
/usr/lib/libaggfontfreetype.so.2
/usr/lib/libaggfontfreetype.so.2.0.4
/usr/lib/libaggplatformX11.so.2
/usr/lib/libaggplatformX11.so.2.0.4
/usr/lib/libaggplatformsdl.so.2
/usr/lib/libaggplatformsdl.so.2.0.4
/usr/share/doc/agg-2.5
/usr/share/doc/agg-2.5/authors
/usr/share/doc/agg-2.5/copying
/usr/share/doc/agg-2.5/news
/usr/share/doc/agg-2.5/readme
/usr/lib64/libagg.so.2
/usr/lib64/libagg.so.2.0.4
/usr/lib64/libaggfontfreetype.so.2
/usr/lib64/libaggfontfreetype.so.2.0.4
/usr/lib64/libaggplatformX11.so.2
/usr/lib64/libaggplatformX11.so.2.0.4
/usr/lib64/libaggplatformsdl.so.2
/usr/lib64/libaggplatformsdl.so.2.0.4
/usr/share/doc/agg-2.5
/usr/share/doc/agg-2.5/authors
/usr/share/doc/agg-2.5/copying
/usr/share/doc/agg-2.5/news
/usr/share/doc/agg-2.5/readme

References

Summary

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