Home Linux HTML/CSS PHP PostgreSQL Node JS React VR Blog

Install Postgresql









PostgresqlInstall Postgresql

In this lesson we will install Postgresql. Postgres is a powerful object-oriented database management system.


Step 1: What Operating System are you using?

Below you will find installation instructions for many popular operating systems. I personally use Ubuntu. If you don't have a Linux/Ubuntu environment, but want to learn it, follow my lessons on installing Oracle VirtualBox with Ubuntu Server.

Ubuntu

$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
$ psql --version

update Downloads package lists to obtain up-to-date information on packages and their dependencies.
install Install Postgresql!!!
version See what version you are using


Debian

$ sudo apt-get update
$ sudo apt-get install postgresql-9.4 postgresql-client-9.4
$ psql --version

update Downloads package lists to obtain up-to-date information on packages and their dependencies.
install Install Postgresql!!!
version See what version you are using


Arch

$ sudo pacman -S postgresql
$ sudo pacman -Si postgresql

install Install Postgresql!!!
Check the installation.


Red Hat/Yum

Follow these instructions: Install Postgres using Yum


Windows

Follow these instructions: Install Postgres with Windows



MAC

Follow these instructions: Install Postgres with OSX




Learn to use VIM/VI text editor:

Intro to VI/VIM:


Follow Coding Commanders on:

YouTube

Facebook

Instagram

Twitter