How To Install phpPgAdmin on CentOS 7

In this tutorial we learn how to install phpPgAdmin on CentOS 7. phpPgAdmin is Web-based PostgreSQL administration

Introduction

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

What is phpPgAdmin

phpPgAdmin is a fully functional web-based administration utility for a PostgreSQL database server. It handles all the basic functionality as well as some advanced features such as triggers, views and functions (stored procedures). It also has Slony-I support.

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

Install phpPgAdmin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install phpPgAdmin

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

sudo dnf -y install phpPgAdmin

How To Uninstall phpPgAdmin on CentOS 7

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

sudo dnf remove phpPgAdmin

References

Summary

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