Being the most advanced open-source relational database, many of us need to install PostgreSQL for some purposes. However, sometimes you may not have sudo
privilege on an Ubuntu server. Then, how should you install PostgreSQL in this case?
Compile from source!
Next, we will show a step-by-step guide on how to install PostgreSQL on Ubuntu by compiling it from source.