How To Install graphviz-php.x86_64 on Amazon Linux 2
In this tutorial we learn how to install graphviz-php.x86_64 in Amazon Linux 2. graphviz-php.x86_64 is PHP extension for graphviz
Introduction
In this tutorial we learn how to install graphviz-php.x86_64 on Amazon Linux 2.
What is graphviz-php.x86_64
PHP extension for graphviz.
We can use yum to install graphviz-php.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install graphviz-php.x86_64.
Install graphviz-php.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install graphviz-php.x86_64 using yum by running the following command:
sudo yum -y install graphviz-php.x86_64
How To Uninstall graphviz-php.x86_64 on Amazon Linux 2
To uninstall only the graphviz-php.x86_64 package we can use the following command:
sudo yum remove graphviz-php.x86_64
graphviz-php.x86_64 Package Contents on Amazon Linux 2
/etc/php.d/graphviz.ini
/usr/lib64/graphviz/php
/usr/lib64/graphviz/php/gv.php
/usr/lib64/graphviz/php/gv.so
/usr/lib64/graphviz/php/libgv_php.so
/usr/lib64/php/modules/gv.so
/usr/share/man/man3/gv.3php.gz
/usr/share/php/gv.php
References
Summary
In this tutorial we learn how to install graphviz-php.x86_64 on Amazon Linux 2 using yum.