Programster's Blog

Tutorials focusing on Linux, programming, and open source

Ubuntu 16.04 - Install PostgreSQL 10

Postgresql 10 has been out for a while now. One of the features that was added that I'm pretty keen on is better support for parallel queries which is worth migrating away from MySQL for.


Copy, paste and execute the commands below:

echo 'deb xenial-pgdg main' | sudo tee /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-10 -y