HostOnNet Blog

How to Check PostgreSQL is installed or not on Linux

Looking for Linux Server Admin or WordPress Expert? We can help.

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

postgreSQL

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

root@cloud1:~# which psql
root@cloud1:~# 

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

One Response to How to Check PostgreSQL is installed or not on Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.