RHEL 7 Repository Question

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?







share|improve this question


























    up vote
    0
    down vote

    favorite












    I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?







      share|improve this question














      I have a local RHEL 7 yum repository that's not connected to the Internet. I need to add some RPMs from CD to this repository manually. I can't seem to find any information on this after exhaustive searching. Can someone tell me how to do this?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 28 '17 at 20:44









      Jeff Schaller

      32.1k849109




      32.1k849109










      asked Nov 28 '17 at 20:25









      Randy Teer

      61




      61




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote













          Using createrepo against a directory will update its repo metadata or create it if none exists.



          createrepo some/directory





          share|improve this answer




















          • You run this after copying the rpms into the repo directory, yes?
            – docwebhead
            Nov 28 '17 at 20:40











          • @docwebhead: Correct.
            – Ignacio Vazquez-Abrams
            Nov 28 '17 at 20:42

















          up vote
          2
          down vote













          The tool that's often used for this job is createrepo.



          See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository






          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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f407580%2frhel-7-repository-question%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote













            Using createrepo against a directory will update its repo metadata or create it if none exists.



            createrepo some/directory





            share|improve this answer




















            • You run this after copying the rpms into the repo directory, yes?
              – docwebhead
              Nov 28 '17 at 20:40











            • @docwebhead: Correct.
              – Ignacio Vazquez-Abrams
              Nov 28 '17 at 20:42














            up vote
            3
            down vote













            Using createrepo against a directory will update its repo metadata or create it if none exists.



            createrepo some/directory





            share|improve this answer




















            • You run this after copying the rpms into the repo directory, yes?
              – docwebhead
              Nov 28 '17 at 20:40











            • @docwebhead: Correct.
              – Ignacio Vazquez-Abrams
              Nov 28 '17 at 20:42












            up vote
            3
            down vote










            up vote
            3
            down vote









            Using createrepo against a directory will update its repo metadata or create it if none exists.



            createrepo some/directory





            share|improve this answer












            Using createrepo against a directory will update its repo metadata or create it if none exists.



            createrepo some/directory






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 28 '17 at 20:35









            Ignacio Vazquez-Abrams

            32.1k66780




            32.1k66780











            • You run this after copying the rpms into the repo directory, yes?
              – docwebhead
              Nov 28 '17 at 20:40











            • @docwebhead: Correct.
              – Ignacio Vazquez-Abrams
              Nov 28 '17 at 20:42
















            • You run this after copying the rpms into the repo directory, yes?
              – docwebhead
              Nov 28 '17 at 20:40











            • @docwebhead: Correct.
              – Ignacio Vazquez-Abrams
              Nov 28 '17 at 20:42















            You run this after copying the rpms into the repo directory, yes?
            – docwebhead
            Nov 28 '17 at 20:40





            You run this after copying the rpms into the repo directory, yes?
            – docwebhead
            Nov 28 '17 at 20:40













            @docwebhead: Correct.
            – Ignacio Vazquez-Abrams
            Nov 28 '17 at 20:42




            @docwebhead: Correct.
            – Ignacio Vazquez-Abrams
            Nov 28 '17 at 20:42












            up vote
            2
            down vote













            The tool that's often used for this job is createrepo.



            See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository






            share|improve this answer
























              up vote
              2
              down vote













              The tool that's often used for this job is createrepo.



              See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                The tool that's often used for this job is createrepo.



                See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository






                share|improve this answer












                The tool that's often used for this job is createrepo.



                See f.ex. here for a howto: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 28 '17 at 20:37









                TomáÅ¡ PospíÅ¡ek

                542110




                542110



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407580%2frhel-7-repository-question%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    TN2H5ToVLhx9 6Gcth8Ytt Hh,eh4W2iseYbzA9LAl1MtCnCFIm4T8j1bmpzNhFsw,9,ib41nnn,GOX 7Yvm
                    TvAqTfTX3HasGRV s3B7dP,lrQn4v3H sI UmwJ9KVShpa 0Xa1,D YCD,ojFC,EO2rskvR zABv

                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    How many registers does an x86_64 CPU actually have?

                    Displaying single band from multi-band raster using QGIS