How to install 'Development Tools' into a CentOS machine without internet?











up vote
-1
down vote

favorite












I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.



Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.



What should I do? How can I get make here? How can I use yum to install packages from the local drive?



Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.










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.




















  • If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
    – Haxiel
    Dec 3 at 12:46















up vote
-1
down vote

favorite












I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.



Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.



What should I do? How can I get make here? How can I use yum to install packages from the local drive?



Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.










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.




















  • If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
    – Haxiel
    Dec 3 at 12:46













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.



Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.



What should I do? How can I get make here? How can I use yum to install packages from the local drive?



Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.










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 gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.



Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.



What should I do? How can I get make here? How can I use yum to install packages from the local drive?



Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.







centos yum






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 12:40





















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 7:17









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.












  • If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
    – Haxiel
    Dec 3 at 12:46


















  • If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
    – Haxiel
    Dec 3 at 12:46
















If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46




If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.

You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!






share|improve this answer



















  • 1




    Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
    – Ulrich Schwarz
    Dec 3 at 7:47










  • Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
    – trxrg
    Dec 3 at 11:07












  • Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
    – AnonymousLurker
    Dec 3 at 11:43










  • @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
    – trxrg
    Dec 3 at 12:38












  • @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
    – AnonymousLurker
    Dec 3 at 17:08




















up vote
0
down vote













You don't need to have make before any installation. rpm operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).






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%2f485620%2fhow-to-install-development-tools-into-a-centos-machine-without-internet%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
    1
    down vote













    Resolve your package dependencies from a same distro release version (major at least)
    Download them all with yumdownloader from an internet connected box.

    You might need to install yumdownloader first on the network box.
    Transfer them rpm and profit!






    share|improve this answer



















    • 1




      Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
      – Ulrich Schwarz
      Dec 3 at 7:47










    • Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
      – trxrg
      Dec 3 at 11:07












    • Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
      – AnonymousLurker
      Dec 3 at 11:43










    • @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
      – trxrg
      Dec 3 at 12:38












    • @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
      – AnonymousLurker
      Dec 3 at 17:08

















    up vote
    1
    down vote













    Resolve your package dependencies from a same distro release version (major at least)
    Download them all with yumdownloader from an internet connected box.

    You might need to install yumdownloader first on the network box.
    Transfer them rpm and profit!






    share|improve this answer



















    • 1




      Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
      – Ulrich Schwarz
      Dec 3 at 7:47










    • Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
      – trxrg
      Dec 3 at 11:07












    • Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
      – AnonymousLurker
      Dec 3 at 11:43










    • @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
      – trxrg
      Dec 3 at 12:38












    • @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
      – AnonymousLurker
      Dec 3 at 17:08















    up vote
    1
    down vote










    up vote
    1
    down vote









    Resolve your package dependencies from a same distro release version (major at least)
    Download them all with yumdownloader from an internet connected box.

    You might need to install yumdownloader first on the network box.
    Transfer them rpm and profit!






    share|improve this answer














    Resolve your package dependencies from a same distro release version (major at least)
    Download them all with yumdownloader from an internet connected box.

    You might need to install yumdownloader first on the network box.
    Transfer them rpm and profit!







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 days ago

























    answered Dec 3 at 7:22









    M.N.

    264




    264








    • 1




      Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
      – Ulrich Schwarz
      Dec 3 at 7:47










    • Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
      – trxrg
      Dec 3 at 11:07












    • Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
      – AnonymousLurker
      Dec 3 at 11:43










    • @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
      – trxrg
      Dec 3 at 12:38












    • @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
      – AnonymousLurker
      Dec 3 at 17:08
















    • 1




      Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
      – Ulrich Schwarz
      Dec 3 at 7:47










    • Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
      – trxrg
      Dec 3 at 11:07












    • Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
      – AnonymousLurker
      Dec 3 at 11:43










    • @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
      – trxrg
      Dec 3 at 12:38












    • @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
      – AnonymousLurker
      Dec 3 at 17:08










    1




    1




    Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
    – Ulrich Schwarz
    Dec 3 at 7:47




    Note: yumdownloader has a --resolve switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
    – Ulrich Schwarz
    Dec 3 at 7:47












    Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
    – trxrg
    Dec 3 at 11:07






    Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
    – trxrg
    Dec 3 at 11:07














    Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
    – AnonymousLurker
    Dec 3 at 11:43




    Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
    – AnonymousLurker
    Dec 3 at 11:43












    @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
    – trxrg
    Dec 3 at 12:38






    @AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
    – trxrg
    Dec 3 at 12:38














    @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
    – AnonymousLurker
    Dec 3 at 17:08






    @trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
    – AnonymousLurker
    Dec 3 at 17:08














    up vote
    0
    down vote













    You don't need to have make before any installation. rpm operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).






    share|improve this answer

























      up vote
      0
      down vote













      You don't need to have make before any installation. rpm operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        You don't need to have make before any installation. rpm operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).






        share|improve this answer












        You don't need to have make before any installation. rpm operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 3 at 12:31









        Radek Radek

        213




        213






















            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%2f485620%2fhow-to-install-development-tools-into-a-centos-machine-without-internet%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

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt