How to download rpm packages manually (without yum)?











up vote
0
down vote

favorite












I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.



Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.










share|improve this question









New contributor




trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.



    Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.










    share|improve this question









    New contributor




    trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.



      Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.










      share|improve this question









      New contributor




      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either.



      Can I download .rpm packages manually? If yes, what should I do? Dependency issue should be solved also.







      centos yum rpm






      share|improve this question









      New contributor




      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Dec 3 at 13:51





















      New contributor




      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Dec 3 at 13:30









      trxrg

      62




      62




      New contributor




      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      trxrg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Concerning your dependencies issues you an use yum deplist [package]. That will return you a list for the package you listed in the commandline.



          You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.



          If you use CentOS you probably use EPEL repo (confirm with yum repolist). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.



          If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf and look for the line baseurl. You might find something like :
          baseurl=http://custom.repo.example.com/pub/7/$basearch
          In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).



          Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.





          If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm" and cross fingers that it returns something interesting.



          You could copy it from there and transfer it to your Windows machine, using any way you'd like.






          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
            });


            }
            });






            trxrg is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485688%2fhow-to-download-rpm-packages-manually-without-yum%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Concerning your dependencies issues you an use yum deplist [package]. That will return you a list for the package you listed in the commandline.



            You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.



            If you use CentOS you probably use EPEL repo (confirm with yum repolist). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.



            If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf and look for the line baseurl. You might find something like :
            baseurl=http://custom.repo.example.com/pub/7/$basearch
            In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).



            Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.





            If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm" and cross fingers that it returns something interesting.



            You could copy it from there and transfer it to your Windows machine, using any way you'd like.






            share|improve this answer

























              up vote
              0
              down vote













              Concerning your dependencies issues you an use yum deplist [package]. That will return you a list for the package you listed in the commandline.



              You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.



              If you use CentOS you probably use EPEL repo (confirm with yum repolist). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.



              If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf and look for the line baseurl. You might find something like :
              baseurl=http://custom.repo.example.com/pub/7/$basearch
              In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).



              Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.





              If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm" and cross fingers that it returns something interesting.



              You could copy it from there and transfer it to your Windows machine, using any way you'd like.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Concerning your dependencies issues you an use yum deplist [package]. That will return you a list for the package you listed in the commandline.



                You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.



                If you use CentOS you probably use EPEL repo (confirm with yum repolist). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.



                If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf and look for the line baseurl. You might find something like :
                baseurl=http://custom.repo.example.com/pub/7/$basearch
                In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).



                Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.





                If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm" and cross fingers that it returns something interesting.



                You could copy it from there and transfer it to your Windows machine, using any way you'd like.






                share|improve this answer












                Concerning your dependencies issues you an use yum deplist [package]. That will return you a list for the package you listed in the commandline.



                You can easily download the rpms once you know the mirrors you got them from if you are up-to-date. Because packages are overwritten regularly with new ones.



                If you use CentOS you probably use EPEL repo (confirm with yum repolist). In that case you can browse : https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/ or https://dl.fedoraproject.org/pub/epel/7Server/x86_64/Packages/ depending on your version.



                If it's from a custom repo, you can check in /etc/yum.repos.d/your_repo.conf and look for the line baseurl. You might find something like :
                baseurl=http://custom.repo.example.com/pub/7/$basearch
                In that case you have to change $basearch by x86_64 most probably. You might also have to change 7 to something else. And you'll be able to access it from any browser (you should go in the Packages directory once there).



                Yum repos are basically just served by webservers, so you can browse them easily and find the packages you need.





                If you happen to be out-of-date there might be a change that you have a local copy of the package you installed in your yum cache. Run find /var/cache/yum/ -name "your_package_name*.rpm" and cross fingers that it returns something interesting.



                You could copy it from there and transfer it to your Windows machine, using any way you'd like.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 3 at 14:35









                Pierre-Alain TORET

                31617




                31617






















                    trxrg is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    trxrg is a new contributor. Be nice, and check out our Code of Conduct.













                    trxrg is a new contributor. Be nice, and check out our Code of Conduct.












                    trxrg is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f485688%2fhow-to-download-rpm-packages-manually-without-yum%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