Debian – Install PostgreSQL


Sql-runner-iconPostgreSQL, another popular sql database server. Here is how to install one in Debian (and Debian variants). However during the Debian installation if you select Database Server, PostgreSQL will be installed by default. If you didn’t select any database servers, here is how to install PostgreSQL after Debian installation is done.

First:
apt-get install postgresql

Other packages you might need to install to use your PostgreSQL is:
postgresql-client – client libraries and binaries
postgresql-contrib – additional supplies modules
pgadmin3 – graphical PostgreSQL admin tool (not very useful on a headless server without desktop)

Your PostgreSQL server should now be ready to rock!

Happy databasing!

Have any Question or Comment?

Leave a Reply