# Using Rocky 9 with local RHEL 9 install repositories - how much trouble do I need to expect?

**URL:** <https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 11, 2024, 3:34am UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441 "2024-11-11T03:34:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![halloleo](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@halloleo](https://forums.rockylinux.org/u/halloleo)\
**Post date:** [November 11, 2024, 3:34am UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/1 "2024-11-11T03:34:50Z")

</div>

In an _offline_ network (so no Internet connection!) we have some RHEL 9 servers and local RHEL 9 repository mirrors (`baseos`, `appstream`, etc) from which we can install and update.

Now I want to use an open-source Linux distribution accessing these RHEL 9 repositories for installs and updates.

I was thinking of using Rocky Linux 9 for this. Is Rocky 9 and RHEL 9 based on the same structure? Can I use our RHEL 9 repositories mirrors with a Rocky 9 OS?

Or how much trouble do I need to expect when I install software on Rocky 9 from RHEL 9 repository mirrors?

Thanks for any advice!

PS: I have tried _CentOS Stream 9_ with the RHEL repos and that seems to works OK, but I thought Rocky is more stable and maybe closer to RHEL than CentOS Stream which is suppose to be a development OS…

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 11, 2024, 8:20am UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/2 "2024-11-11T08:20:45Z")

</div>

If you do install RHEL packages from RHEL repos, then your system becomes RHEL, doesn’t it?

If you can maintain local RHEL 9 repo mirrors, then you should be able to maintain Rocky 9 repo mirrors too (given enough disk space).

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 11, 2024, 11:02am UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/3 "2024-11-11T11:02:00Z")

</div>

Expect your system to break if you are installing RHEL packages/updates on CentOS or Rocky. That is just a silly thing to even think of doing.

If you have CentOS systems - mirror the CentOS repositories locally like you are doing with RHEL. The same with Rocky, mirror those as well. If you don’t have the disk space, and only have disk space to mirror RHEL, then just stick with using RHEL systems. As soon as you apply RHEL updates to CentOS or Rocky, those systems are no longer CentOS or Rocky as @jlehtone said. At which point, you are on your own when things go wrong. Don’t expect assistance to fix it.

---

<div class="post-metadata">

**Author:** ![halloleo](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@halloleo](https://forums.rockylinux.org/u/halloleo)\
**Post date:** [November 11, 2024, 1:20pm UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/4 "2024-11-11T13:20:22Z")

</div>

Thanks for chiming in, @jlehtone and @iwalker.

> [@iwalker](#):
>
> f you have CentOS systems - mirror the CentOS repositories locally like you are doing with RHEL. The same with Rocky, mirror those as well. If you don’t have the disk space…

The problem is not only the disk space, but the mirrors are provided by the _organisation_ and _I_ cannot easily establish new mirrors.

> [@iwalker](#):
>
> Then just stick with using RHEL systems.

Well, I cannot easily create a RHEL image for wsl -that’s where the new system will sit: on a Windows machine under wsl. For Rocky it’s easy however to get container images for wsl…

From looking at package _names_ Rocky Linux repos don’t look too different from RHEL.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 11, 2024, 5:07pm UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/5 "2024-11-11T17:07:24Z")

</div>

> [@halloleo](#):
>
> From looking at package _names_ Rocky Linux repos don’t look too different from RHEL.

Package names will be the same because Rocky is based on RHEL. However that doesn’t mean you can update your system using RHEL packages. Because then you will be converting your Rocky install to RHEL.

Ask the people who manage the mirrors if they can mirror Rocky for you. If not, then you are stuck and will have to download Rocky packages directly from the internet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 10, 2025, 5:08pm UTC](https://forums.rockylinux.org/t/using-rocky-9-with-local-rhel-9-install-repositories-how-much-trouble-do-i-need-to-expect/16441/6 "2025-01-10T17:08:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
