Comments on: How to Create Local Yum/DNF Repository on RHEL 9 https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/ Wed, 17 May 2023 13:41:12 +0000 hourly 1 By: Catherine https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-53603 Wed, 17 May 2023 13:41:12 +0000 https://www.linuxtechi.com/?p=13994#comment-53603 🙁 it didn’t work for me. After turned enable=0 on /etc/yum/pluginconf.d/subscription-manager.conf. Run sudo dnf repolist and install… All repos were removed.

# sudo dnf clean all
Updating Subscription Management repositories.
17 files removed
# sudo subscription-manager clean
All local data removed
# sudo vi /etc/yum/pluginconf.d/subscription-manager.conf
# sudo dnf repolist
No repositories available
# sudo dnf install nfs-utils
Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.
When I checked back to the redht.repo. It’s empty file.

]]>
By: Glenn M https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-50644 Fri, 17 Mar 2023 13:55:25 +0000 https://www.linuxtechi.com/?p=13994#comment-50644 In step 1, mounting the iso, you state in the written step port to mount it to /opt/repo. However in your example and display snip, you have it as /var/repo. May be a bit confusing to some.

]]>
By: Pradeep Kumar https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-49633 Fri, 24 Feb 2023 08:03:21 +0000 https://www.linuxtechi.com/?p=13994#comment-49633 In reply to easy.

You need to copy RHEL 9 ISO file to your system and then use mount command to mount it.

]]>
By: easy https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-48946 Thu, 09 Feb 2023 16:12:09 +0000 https://www.linuxtechi.com/?p=13994#comment-48946 please how did you do this first step

“We are assuming RHEL 9 iso file is already copied into the system. Run following mount command to mount ISO file on /opt/repo folder.”

]]>
By: manaduvortes https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-48127 Wed, 18 Jan 2023 20:53:28 +0000 https://www.linuxtechi.com/?p=13994#comment-48127 Worked perfectly, thank you very much.

]]>
By: Charles Pham https://www.linuxtechi.com/create-local-yum-dnf-repository-rhel/#comment-41533 Fri, 23 Sep 2022 13:36:09 +0000 https://www.linuxtechi.com/?p=13994#comment-41533 The instruction very clearly. Thank you very much

]]>