psql version ubuntu code example Example: install postgresql ubuntu sudo apt install postgresql postgresql-contrib