How do i register Oracle Linux version 7 without subscription-manager

i don’t see subscription-manager available for Oracle Linux version 7, is there a way can register OEL 7 to foreman.

Get subscription-manager from CentOS 7. You will need to filter an Oracle app that I cannot remember as it tries to replace subscription-manager.
UPDATE: I checked and the package to exclude is rhn-client-tools.

Or use the new registration form, that will take care of that for you.

1 Like

Oracle in their infinite wisdom made it so certain packages deprecate subscription-manager, so you need to filter out a few packages from the content-view to get them out of the way before you try to install subscription-manager.

I exclude the following packages from all my Oracle Linux base operating system views (including OL8):

  • rhn-check
  • rhn-client-tools
  • rhn-setup
  • rhn-setup-gnome
  • rhnlib
  • rhnsd
  • yum-rhn-plugin
  • yum-plugin-ulninfo

Then I add an additional repository to the base operating system content view which contains the subscription-manager packages which I obtained from the following URLs:

EL6: https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager/epel-6-x86_64/
EL7: https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager/epel-7-x86_64/
EL8: https://copr-be.cloud.fedoraproject.org/results/dmann/subscription-manager/epel-8-x86_64/

Don’t forget to include the Katello Client Tools too if you’re using the bootstrap script.

1 Like

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