HostOnNet Blog

How to Check PostgreSQL is installed or not on Linux

PostgreSQL is a popular database management system that is used to handle the data of many websites and applications.


If you were to run which psql and Postgres is not installed there appears to be no output.

root@cloud1:~# which psql

You just get the terminal prompt ready to accept another command.

But if Postgres is installed you’ll get a response with the path to the location of the Postgres install

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.
Posted in Database