I am trying to use CentOS 9 with local RHEL 9 repositories - how much trouble do I need to expect?

In an internet-disconnected offline environment we have local RHEL 9 repository mirrors (baseos, etc).

I want to use an open-source distribution accessing these RHEL repositories and am trying CentOS Stream 9 for this.

So far I was able to do dnf update and dnf upgrade - and even install packages: Small ones like which and bigger ones like ansible.

How much trouble do I need to expect when I install software on CentLOS 9 from RHEL 9 repository mirrors?

Perhaps it is more appropriate to use the repo of AlmaLinux 9 or Rocky Linux 9.
Now CentOS stream should be the upstream of RHEL.

CentOS Stream 9 is the next minor release of RHEL.

Thus installing RHEL 9 packages on CentOS Stream 9 is technically equivalent to installing RHEL 9.5 packages on RHEL 9.6. So most of the time it is safe.

You should not have a need for that though. CentOS Stream 9 contains all the packages from the released RHEL 9 repositories with the exactly the same ot a higher version.

1 Like

Thanks for this. I was hoping this is the case.

Well, the CentOS machine has no internet connection, only a local network. We do have the on our local network RHEL 9 package mirrors, so these I use to install things on tge CentOS machine.