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