For installing the new version of PostgreSQL 10 on Ubuntu Xenial 16.04 LTS :


sudo sh -c 'echo "deb xenial-pgdg main 10" > /etc/apt/sources.list.d/pgdg.list'
sudo sh -c 'echo "deb xenial-pgdg-testing main 10" >> /etc/apt/sources.list.d/pgdg.list'
sudo apt-get install wget ca-certificates
wget --quiet -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install postgresql-10 pgadmin3


Categories: CommandsLinux

Related Posts


Update your arch linux (repo+aur) in one command

yaourt -Syyu Related PostsFix magnet links in chromeHow to install PostgreSQL 10 on Ubuntu Xenial 16.04 LTSAntergos Linux – The Best Linux Distro Ever!Announcing Rust 1.20 – The Rust Programming Language BlogLinux Commands In Structured Read more…


Fix magnet links in chrome

xdg-mime default transmission-gtk.desktop x-scheme-handler/magnet Source: Related PostsHow to install PostgreSQL 10 on Ubuntu Xenial 16.04 LTSUpdate your arch linux (repo+aur) in one commandLinks da SemanaDefault Alive or Default Dead?The real reasons you procrastinate — and Read more…


Copying files without overwriting destination

rsync is used by to copy files remotely and locally rsync -avzu /home/x /y -u = do not overwrite a file at the destination, if it is modified Source: Or  you can use cp Read more…