diff --git a/timescaledb/how-to-guides/install-timescaledb/installation-apt-ubuntu.md b/timescaledb/how-to-guides/install-timescaledb/installation-apt-ubuntu.md
index 565d37461811..19ef8dea574a 100644
--- a/timescaledb/how-to-guides/install-timescaledb/installation-apt-ubuntu.md
+++ b/timescaledb/how-to-guides/install-timescaledb/installation-apt-ubuntu.md
@@ -13,7 +13,7 @@ non-obsolete releases.
#### Build and install
- If you have another PostgreSQL installation not via `apt`,
+If you have another PostgreSQL installation not via `apt`,
this will likely cause problems.
If you wish to maintain your current version of PostgreSQL outside
@@ -21,31 +21,26 @@ of `apt`, we recommend installing from source. Otherwise, please be
sure to remove non-`apt` installations before using this method.
-**If you don't already have PostgreSQL installed**, add PostgreSQL's third
-party repository to get the latest PostgreSQL packages (if you are using Ubuntu older than 19.04):
+Add the PostgreSQL third party repository to get the latest PostgreSQL packages:
```bash
-# `lsb_release -c -s` should return the correct codename of your OS
-echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -c -s)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
-wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
-sudo apt-get update
+sudo apt install postgresql-common
+sudo sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
```
-Add TimescaleDB's third party repository and install TimescaleDB,
-which will download any dependencies it needs from the PostgreSQL repo:
-
-Users coming from previous versions that have installed the PPA,
-need to add the new Ubuntu package repository for the release of TimescaleDB 2.4.
-
-
+Add the TimescaleDB third party repository and install TimescaleDB. This command
+downloads any required dependencies from the PostgreSQL repository:
```bash
-# Add our repository
-sudo sh -c "echo 'deb https://packagecloud.io/timescale/timescaledb/ubuntu/ `lsb_release -c -s` main' > /etc/apt/sources.list.d/timescaledb.list"
-wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo apt-key add -
+sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/timescale.keyring] https://packagecloud.io/timescale/timescaledb/ubuntu/ $(lsb_release -c -s) main' > /etc/apt/sources.list.d/timescaledb.list"
+wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/timescale.keyring
sudo apt-get update
# Now install appropriate package for PG version
sudo apt install timescaledb-2-postgresql-13
```
+
+Users coming from previous versions that have installed the PPA need to add the
+new Ubuntu package repository for the release of TimescaleDB 2.4.
+
#### Upgrading from TimescaleDB 1.x
If you are upgrading from TimescaleDB 1.x, the `apt` package will first