Rocky Linux 8.4 is released today. I already added support and wrote down instructions about how to install PostgreSQL on Rocky Linux 8, and now it is time for a short blog post about migrating from CentOS 8 to Rocky Linux 8. Please note that if you are using CentOS 8 Stream, this blog post is not suitable for you.

These steps are experimental for now -- use the instructions at your own risk. It worked for me, though.

Make sure that your system is fully updated before running these commands.

Download these 4 packages from Rocky repos:


If you want to do a smoke test, run:

rpm -ivh rocky-gpg-keys-8.4-26.el8.noarch.rpm rocky-re* --test

Now, install Rocky Linux packages:

rpm -ivh rocky-gpg-keys-8.4-26.el8.noarch.rpm rocky-re* --force

Finally, remove CentOS packages:

rpm -e centos-linux-release centos-linux-repos centos-logos centos-gpg-keys

Note: If a package listed above does not exist on your system, just remove that package name in the command, and run it again.

Now you can update your OS :

Finally you can reboot the OS. You'll see "Rocky Linux" in grub menu #WIN!

If you experience any issues about PostgreSQL and Rocky Linux, please report us.

No comments

The author does not allow comments to this entry