![]() |
|
How to Install PostgreSQL on Ubuntu - Printable Version +- My Board (https://ellohost.com/forum) +-- Forum: Tutoriel EN (https://ellohost.com/forum/forumdisplay.php?fid=8) +--- Forum: Others (https://ellohost.com/forum/forumdisplay.php?fid=20) +--- Thread: How to Install PostgreSQL on Ubuntu (/showthread.php?tid=757) |
How to Install PostgreSQL on Ubuntu - aaron - 09-08-2023 Before proceeding, ensure your virtual private server (VPS) runs Ubuntu 20.04 or later. Option 1 – Installation From APT RepositoryThe popular method to install PostgreSQL on Ubuntu is from the official repository via the APT package manager. Here are the steps to do so:
Option 2 – Installation Using Local Ubuntu RepositoryThe alternative PostgreSQL installation method uses the local Ubuntu repository. Here are the steps:
The command line should show that the PostgreSQL server version 12.15 is successfully installed, similar to this: ![]() |