how to instal psql linux

C++
sudo service postgresql start
# To start the postgresql service#how to instal psql linux
sudo apt-get install postgresql
Source

Also in C++: