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

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











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?










share|improve this question























  • 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?










share|improve this question























  • 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?










share|improve this question















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?







centos yum






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 7 at 5:23

























asked Dec 3 at 7:17









trxrg

103




103











  • 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










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










  • @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
    );



    );













    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










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










    • @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










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










    • @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 Dec 4 at 16:27

























    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










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










    • @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










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










    • @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












    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












    @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



























            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%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

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

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay