How To Install php-ezc-Graph on CentOS 7
Introduction
In this tutorial we learn how to install php-ezc-Graph on CentOS 7.
What is php-ezc-Graph
The Graph component enables you to create line, pie and bar charts. The output driver mechanism allows you to create different image types from each chart, and the available renderers make the chart output customizable from simple two-dimensional charts to beautiful three-dimensional data projections.
We can use yum or dnf to install php-ezc-Graph on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-ezc-Graph.
Install php-ezc-Graph on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install php-ezc-Graph using yum by running the following command:
sudo yum -y install php-ezc-Graph
Install php-ezc-Graph 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 php-ezc-Graph using dnf by running the following command:
sudo dnf -y install php-ezc-Graph
How To Uninstall php-ezc-Graph on CentOS 7
To uninstall only the php-ezc-Graph package we can use the following command:
sudo dnf remove php-ezc-Graph
References
Summary
In this tutorial we learn how to install php-ezc-Graph on CentOS 7 using yum and dnf.