Can't install CentOs virtualbox guest addition












0














I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error.



CentOS 7 Guest Additions Error



The the content of /var/log/VBoxGuestAdditions.log follows.





The content of /var/log/vboxadd-install.log follows.



enter image description here



Any help, please?










share|improve this question




















  • 3




    Please, don't post images of text.
    – Kusalananda
    Oct 19 '17 at 19:51










  • i can't copy the text from the virtualbox.
    – mohamed maher
    Oct 19 '17 at 19:57










  • Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
    – nicoX
    Oct 19 '17 at 20:32
















0














I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error.



CentOS 7 Guest Additions Error



The the content of /var/log/VBoxGuestAdditions.log follows.





The content of /var/log/vboxadd-install.log follows.



enter image description here



Any help, please?










share|improve this question




















  • 3




    Please, don't post images of text.
    – Kusalananda
    Oct 19 '17 at 19:51










  • i can't copy the text from the virtualbox.
    – mohamed maher
    Oct 19 '17 at 19:57










  • Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
    – nicoX
    Oct 19 '17 at 20:32














0












0








0







I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error.



CentOS 7 Guest Additions Error



The the content of /var/log/VBoxGuestAdditions.log follows.





The content of /var/log/vboxadd-install.log follows.



enter image description here



Any help, please?










share|improve this question















I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error.



CentOS 7 Guest Additions Error



The the content of /var/log/VBoxGuestAdditions.log follows.





The content of /var/log/vboxadd-install.log follows.



enter image description here



Any help, please?







centos virtualbox manjaro






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 19 '17 at 19:38

























asked Oct 19 '17 at 18:48









mohamed maher

117




117








  • 3




    Please, don't post images of text.
    – Kusalananda
    Oct 19 '17 at 19:51










  • i can't copy the text from the virtualbox.
    – mohamed maher
    Oct 19 '17 at 19:57










  • Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
    – nicoX
    Oct 19 '17 at 20:32














  • 3




    Please, don't post images of text.
    – Kusalananda
    Oct 19 '17 at 19:51










  • i can't copy the text from the virtualbox.
    – mohamed maher
    Oct 19 '17 at 19:57










  • Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
    – nicoX
    Oct 19 '17 at 20:32








3




3




Please, don't post images of text.
– Kusalananda
Oct 19 '17 at 19:51




Please, don't post images of text.
– Kusalananda
Oct 19 '17 at 19:51












i can't copy the text from the virtualbox.
– mohamed maher
Oct 19 '17 at 19:57




i can't copy the text from the virtualbox.
– mohamed maher
Oct 19 '17 at 19:57












Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
– nicoX
Oct 19 '17 at 20:32




Insert Guest Addition CD Image. Open a terminal> CD into: /media/youruser/ following the ISO directory. Type sudo ./VBoxLinuxAdditions.run
– nicoX
Oct 19 '17 at 20:32










2 Answers
2






active

oldest

votes


















0














Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here



It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run



sudo yum groupinstall 'Development Tools'


Now you should be able to compile the guest addons in CentOS.






share|improve this answer





















  • I have tried This solution but it doesn't work.
    – mohamed maher
    Oct 23 '17 at 8:59



















0














Thank's guys, my problem was solved by running sudo yum update then



sudo yum install -y gcc kernel-devel





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',
    autoActivateHeartbeat: false,
    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%2f399195%2fcant-install-centos-virtualbox-guest-addition%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









    0














    Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here



    It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run



    sudo yum groupinstall 'Development Tools'


    Now you should be able to compile the guest addons in CentOS.






    share|improve this answer





















    • I have tried This solution but it doesn't work.
      – mohamed maher
      Oct 23 '17 at 8:59
















    0














    Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here



    It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run



    sudo yum groupinstall 'Development Tools'


    Now you should be able to compile the guest addons in CentOS.






    share|improve this answer





















    • I have tried This solution but it doesn't work.
      – mohamed maher
      Oct 23 '17 at 8:59














    0












    0








    0






    Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here



    It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run



    sudo yum groupinstall 'Development Tools'


    Now you should be able to compile the guest addons in CentOS.






    share|improve this answer












    Besides installing the host module in manjaro, and adding the manjaro user which is running the vbox to the groups both explained here



    It seems that you need to install the development tools in the VM's CentOS. According to your screenshot - you don't have gcc installed. To do that run



    sudo yum groupinstall 'Development Tools'


    Now you should be able to compile the guest addons in CentOS.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 19 '17 at 20:26









    Michael D.

    1,534816




    1,534816












    • I have tried This solution but it doesn't work.
      – mohamed maher
      Oct 23 '17 at 8:59


















    • I have tried This solution but it doesn't work.
      – mohamed maher
      Oct 23 '17 at 8:59
















    I have tried This solution but it doesn't work.
    – mohamed maher
    Oct 23 '17 at 8:59




    I have tried This solution but it doesn't work.
    – mohamed maher
    Oct 23 '17 at 8:59













    0














    Thank's guys, my problem was solved by running sudo yum update then



    sudo yum install -y gcc kernel-devel





    share|improve this answer




























      0














      Thank's guys, my problem was solved by running sudo yum update then



      sudo yum install -y gcc kernel-devel





      share|improve this answer


























        0












        0








        0






        Thank's guys, my problem was solved by running sudo yum update then



        sudo yum install -y gcc kernel-devel





        share|improve this answer














        Thank's guys, my problem was solved by running sudo yum update then



        sudo yum install -y gcc kernel-devel






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 23 '17 at 10:09

























        answered Oct 23 '17 at 9:29









        mohamed maher

        117




        117






























            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%2f399195%2fcant-install-centos-virtualbox-guest-addition%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

            Morgemoulin

            Scott Moir

            Souastre