In this article, we will look at how to install PostgreSQL in Linux and in following articles we will cover PostgreSQL administration, configuration, HA and programming covering advanced subjects.
In Ubuntu, we can download and install PostgreSQL with following command.
sudo apt install postgresql
Lets see in Linux in a shell example.
In above example, we first checked ubuntu repository for postgresql, and pulled postgresql. Following the installation complete, we check the installation. In order to access "psql" postgreSQL shell, we switched postgre user which is admin of that db engine by installation. We started psql shell.