ubuntu create postgres database code example Example: install postgresql ubuntu sudo apt install postgresql postgresql-contrib