How to subscribe to public YUM repository in Oracle Linux











up vote
0
down vote

favorite












I would like to subscribe to the following Oracle yum repository so I can install virtual box guest additions packages.



https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html



Where can I find the .repo file URL in order for me to add this to my Oracle Linux subscription list?



Edit: I am already subscribed to the Oracle public yum repo



[root@localhost yum.repos.d]# yum repolist
Loaded plugins: langpacks, ulninfo
repo id repo name status
ol6_UEK_latest/x86_64 Latest Unbreakable Enterprise Kernel for Oracle Lin 820
ol6_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,323
ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for 108
ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,688
repolist: 23,939


[root@localhost yum.repos.d]# yum search vbox
Loaded plugins: langpacks, ulninfo
============================== N/S matched: vbox ===============================
isdn4k-utils-vboxgetty.x86_64 : ISDN voice box (getty)

Name and summary matches only, use "search all" for everything.









share|improve this question




























    up vote
    0
    down vote

    favorite












    I would like to subscribe to the following Oracle yum repository so I can install virtual box guest additions packages.



    https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html



    Where can I find the .repo file URL in order for me to add this to my Oracle Linux subscription list?



    Edit: I am already subscribed to the Oracle public yum repo



    [root@localhost yum.repos.d]# yum repolist
    Loaded plugins: langpacks, ulninfo
    repo id repo name status
    ol6_UEK_latest/x86_64 Latest Unbreakable Enterprise Kernel for Oracle Lin 820
    ol6_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,323
    ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for 108
    ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,688
    repolist: 23,939


    [root@localhost yum.repos.d]# yum search vbox
    Loaded plugins: langpacks, ulninfo
    ============================== N/S matched: vbox ===============================
    isdn4k-utils-vboxgetty.x86_64 : ISDN voice box (getty)

    Name and summary matches only, use "search all" for everything.









    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I would like to subscribe to the following Oracle yum repository so I can install virtual box guest additions packages.



      https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html



      Where can I find the .repo file URL in order for me to add this to my Oracle Linux subscription list?



      Edit: I am already subscribed to the Oracle public yum repo



      [root@localhost yum.repos.d]# yum repolist
      Loaded plugins: langpacks, ulninfo
      repo id repo name status
      ol6_UEK_latest/x86_64 Latest Unbreakable Enterprise Kernel for Oracle Lin 820
      ol6_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,323
      ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for 108
      ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,688
      repolist: 23,939


      [root@localhost yum.repos.d]# yum search vbox
      Loaded plugins: langpacks, ulninfo
      ============================== N/S matched: vbox ===============================
      isdn4k-utils-vboxgetty.x86_64 : ISDN voice box (getty)

      Name and summary matches only, use "search all" for everything.









      share|improve this question















      I would like to subscribe to the following Oracle yum repository so I can install virtual box guest additions packages.



      https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html



      Where can I find the .repo file URL in order for me to add this to my Oracle Linux subscription list?



      Edit: I am already subscribed to the Oracle public yum repo



      [root@localhost yum.repos.d]# yum repolist
      Loaded plugins: langpacks, ulninfo
      repo id repo name status
      ol6_UEK_latest/x86_64 Latest Unbreakable Enterprise Kernel for Oracle Lin 820
      ol6_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,323
      ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for 108
      ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 11,688
      repolist: 23,939


      [root@localhost yum.repos.d]# yum search vbox
      Loaded plugins: langpacks, ulninfo
      ============================== N/S matched: vbox ===============================
      isdn4k-utils-vboxgetty.x86_64 : ISDN voice box (getty)

      Name and summary matches only, use "search all" for everything.






      linux virtualbox yum oracle-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago

























      asked 2 days ago









      jthomp

      283




      283






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          On the same web server there is a page which describe very well the process.




          To configure CentOS, Red Hat Enterprise Linux or Scientific Linux with
          Oracle Linux yum server:



          To convert your system to Oracle Linux, see these instructions for switching from CentOS. To install individual packages from Oracle
          Linux yum server, begin by importing the Oracle Linux GPG key based on
          these instructions. Then, download and copy the appropriate yum
          configuration file in place, by running the following commands as
          root:



          Oracle Linux 7

          # cd /etc/yum.repos.d
          # wget https://yum.oracle.com/public-yum-ol7.repo
          Oracle Linux 7 for ARM (aarch64)

          # cd /etc/yum.repos.d
          # wget https://yum.oracle.com/aarch64/public-yum-ol7.repo
          Oracle Linux 6

          # cd /etc/yum.repos.d
          # wget https://yum.oracle.com/public-yum-ol6.repo
          Oracle Linux 5

          # cd /etc/yum.repos.d
          # wget https://yum.oracle.com/public-yum-el5.repo
          Oracle Linux 4, Update 6 or Newer
          # cd /etc/yum.repos.d
          # mv Oracle-Base.repo Oracle-Base.repo.disabled
          # wget https://yum.oracle.com/public-yum-el4.repo


          By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by
          editing the yum configuration file.
          Open the yum configuration file in a text editor
          Locate the section in the file for the repository want to enable, e.g. [public_ol6_addons]
          Change enabled=0 to enabled=1







          share|improve this answer























          • I already appear to be subscribed to that repo. See edit in original post.
            – jthomp
            2 days ago










          • @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
            – Romeo Ninov
            2 days ago






          • 1




            I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
            – jthomp
            2 days ago


















          up vote
          0
          down vote













          I fixed this by adding the entry manually into the yum.conf file.



          This Oracle blog helped






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486926%2fhow-to-subscribe-to-public-yum-repository-in-oracle-linux%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            On the same web server there is a page which describe very well the process.




            To configure CentOS, Red Hat Enterprise Linux or Scientific Linux with
            Oracle Linux yum server:



            To convert your system to Oracle Linux, see these instructions for switching from CentOS. To install individual packages from Oracle
            Linux yum server, begin by importing the Oracle Linux GPG key based on
            these instructions. Then, download and copy the appropriate yum
            configuration file in place, by running the following commands as
            root:



            Oracle Linux 7

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol7.repo
            Oracle Linux 7 for ARM (aarch64)

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/aarch64/public-yum-ol7.repo
            Oracle Linux 6

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol6.repo
            Oracle Linux 5

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-el5.repo
            Oracle Linux 4, Update 6 or Newer
            # cd /etc/yum.repos.d
            # mv Oracle-Base.repo Oracle-Base.repo.disabled
            # wget https://yum.oracle.com/public-yum-el4.repo


            By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by
            editing the yum configuration file.
            Open the yum configuration file in a text editor
            Locate the section in the file for the repository want to enable, e.g. [public_ol6_addons]
            Change enabled=0 to enabled=1







            share|improve this answer























            • I already appear to be subscribed to that repo. See edit in original post.
              – jthomp
              2 days ago










            • @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
              – Romeo Ninov
              2 days ago






            • 1




              I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
              – jthomp
              2 days ago















            up vote
            0
            down vote













            On the same web server there is a page which describe very well the process.




            To configure CentOS, Red Hat Enterprise Linux or Scientific Linux with
            Oracle Linux yum server:



            To convert your system to Oracle Linux, see these instructions for switching from CentOS. To install individual packages from Oracle
            Linux yum server, begin by importing the Oracle Linux GPG key based on
            these instructions. Then, download and copy the appropriate yum
            configuration file in place, by running the following commands as
            root:



            Oracle Linux 7

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol7.repo
            Oracle Linux 7 for ARM (aarch64)

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/aarch64/public-yum-ol7.repo
            Oracle Linux 6

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol6.repo
            Oracle Linux 5

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-el5.repo
            Oracle Linux 4, Update 6 or Newer
            # cd /etc/yum.repos.d
            # mv Oracle-Base.repo Oracle-Base.repo.disabled
            # wget https://yum.oracle.com/public-yum-el4.repo


            By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by
            editing the yum configuration file.
            Open the yum configuration file in a text editor
            Locate the section in the file for the repository want to enable, e.g. [public_ol6_addons]
            Change enabled=0 to enabled=1







            share|improve this answer























            • I already appear to be subscribed to that repo. See edit in original post.
              – jthomp
              2 days ago










            • @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
              – Romeo Ninov
              2 days ago






            • 1




              I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
              – jthomp
              2 days ago













            up vote
            0
            down vote










            up vote
            0
            down vote









            On the same web server there is a page which describe very well the process.




            To configure CentOS, Red Hat Enterprise Linux or Scientific Linux with
            Oracle Linux yum server:



            To convert your system to Oracle Linux, see these instructions for switching from CentOS. To install individual packages from Oracle
            Linux yum server, begin by importing the Oracle Linux GPG key based on
            these instructions. Then, download and copy the appropriate yum
            configuration file in place, by running the following commands as
            root:



            Oracle Linux 7

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol7.repo
            Oracle Linux 7 for ARM (aarch64)

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/aarch64/public-yum-ol7.repo
            Oracle Linux 6

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol6.repo
            Oracle Linux 5

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-el5.repo
            Oracle Linux 4, Update 6 or Newer
            # cd /etc/yum.repos.d
            # mv Oracle-Base.repo Oracle-Base.repo.disabled
            # wget https://yum.oracle.com/public-yum-el4.repo


            By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by
            editing the yum configuration file.
            Open the yum configuration file in a text editor
            Locate the section in the file for the repository want to enable, e.g. [public_ol6_addons]
            Change enabled=0 to enabled=1







            share|improve this answer














            On the same web server there is a page which describe very well the process.




            To configure CentOS, Red Hat Enterprise Linux or Scientific Linux with
            Oracle Linux yum server:



            To convert your system to Oracle Linux, see these instructions for switching from CentOS. To install individual packages from Oracle
            Linux yum server, begin by importing the Oracle Linux GPG key based on
            these instructions. Then, download and copy the appropriate yum
            configuration file in place, by running the following commands as
            root:



            Oracle Linux 7

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol7.repo
            Oracle Linux 7 for ARM (aarch64)

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/aarch64/public-yum-ol7.repo
            Oracle Linux 6

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-ol6.repo
            Oracle Linux 5

            # cd /etc/yum.repos.d
            # wget https://yum.oracle.com/public-yum-el5.repo
            Oracle Linux 4, Update 6 or Newer
            # cd /etc/yum.repos.d
            # mv Oracle-Base.repo Oracle-Base.repo.disabled
            # wget https://yum.oracle.com/public-yum-el4.repo


            By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by
            editing the yum configuration file.
            Open the yum configuration file in a text editor
            Locate the section in the file for the repository want to enable, e.g. [public_ol6_addons]
            Change enabled=0 to enabled=1








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 2 days ago

























            answered 2 days ago









            Romeo Ninov

            5,02431627




            5,02431627












            • I already appear to be subscribed to that repo. See edit in original post.
              – jthomp
              2 days ago










            • @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
              – Romeo Ninov
              2 days ago






            • 1




              I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
              – jthomp
              2 days ago


















            • I already appear to be subscribed to that repo. See edit in original post.
              – jthomp
              2 days ago










            • @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
              – Romeo Ninov
              2 days ago






            • 1




              I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
              – jthomp
              2 days ago
















            I already appear to be subscribed to that repo. See edit in original post.
            – jthomp
            2 days ago




            I already appear to be subscribed to that repo. See edit in original post.
            – jthomp
            2 days ago












            @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
            – Romeo Ninov
            2 days ago




            @jthomp, yes, you are already subscribed. If you have other problem please create new question for it.
            – Romeo Ninov
            2 days ago




            1




            1




            I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
            – jthomp
            2 days ago




            I am already subscribed to the oracle public repo, but this is not the repo that I am looking to subscribe to. I am looking to subscribe to the ol7 developer repo. Anyway, I fixed the problem by manually adding the entry into the yum.conf file.
            – jthomp
            2 days ago












            up vote
            0
            down vote













            I fixed this by adding the entry manually into the yum.conf file.



            This Oracle blog helped






            share|improve this answer

























              up vote
              0
              down vote













              I fixed this by adding the entry manually into the yum.conf file.



              This Oracle blog helped






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I fixed this by adding the entry manually into the yum.conf file.



                This Oracle blog helped






                share|improve this answer












                I fixed this by adding the entry manually into the yum.conf file.



                This Oracle blog helped







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                jthomp

                283




                283






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486926%2fhow-to-subscribe-to-public-yum-repository-in-oracle-linux%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    サソリ

                    広島県道265号伴広島線

                    Accessing regular linux commands in Huawei's Dopra Linux