Rajendra Gupta gives us a walkthrough:
In this tutorial, I will walk you through installing Postgres on Ubuntu 20.04.5 LTS. We will also cover basic setup tasks, such as setting the default password and creating a new user. Let us get started.
Read on for an image-filled tutorial.