How to install latest virtualbox-dkms with latest virtualbox on Debian Stable Wheezy





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















It is possible to install the latest virtualbox and extension pack on Wheezy using the following:



# su sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" >> /etc/apt/sources.list
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | su apt-key add -
# apt-get update
# apt-get install virtualbox-4.3


If one then tries to install virtualbox-dkms (to prevent virtualbox from failing after a kernel upgrade) it is necessary to uninstall the latest (4.3) version of virtualbox.



The 4.3 virtualbox-dkms in not available in the wheezy backports, which can be added by as an administrator including the following line in /etc/apt/sources.list:



deb http://http.debian.net/debian wheezy-backports main



How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?










share|improve this question































    0















    It is possible to install the latest virtualbox and extension pack on Wheezy using the following:



    # su sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" >> /etc/apt/sources.list
    # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | su apt-key add -
    # apt-get update
    # apt-get install virtualbox-4.3


    If one then tries to install virtualbox-dkms (to prevent virtualbox from failing after a kernel upgrade) it is necessary to uninstall the latest (4.3) version of virtualbox.



    The 4.3 virtualbox-dkms in not available in the wheezy backports, which can be added by as an administrator including the following line in /etc/apt/sources.list:



    deb http://http.debian.net/debian wheezy-backports main



    How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?










    share|improve this question



























      0












      0








      0


      1






      It is possible to install the latest virtualbox and extension pack on Wheezy using the following:



      # su sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" >> /etc/apt/sources.list
      # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | su apt-key add -
      # apt-get update
      # apt-get install virtualbox-4.3


      If one then tries to install virtualbox-dkms (to prevent virtualbox from failing after a kernel upgrade) it is necessary to uninstall the latest (4.3) version of virtualbox.



      The 4.3 virtualbox-dkms in not available in the wheezy backports, which can be added by as an administrator including the following line in /etc/apt/sources.list:



      deb http://http.debian.net/debian wheezy-backports main



      How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?










      share|improve this question
















      It is possible to install the latest virtualbox and extension pack on Wheezy using the following:



      # su sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" >> /etc/apt/sources.list
      # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | su apt-key add -
      # apt-get update
      # apt-get install virtualbox-4.3


      If one then tries to install virtualbox-dkms (to prevent virtualbox from failing after a kernel upgrade) it is necessary to uninstall the latest (4.3) version of virtualbox.



      The 4.3 virtualbox-dkms in not available in the wheezy backports, which can be added by as an administrator including the following line in /etc/apt/sources.list:



      deb http://http.debian.net/debian wheezy-backports main



      How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?







      virtualbox debian virtual-machine debian-wheezy






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 3 '14 at 18:16







      user75798

















      asked Jul 3 '14 at 18:06









      user75798user75798

      11328




      11328






















          2 Answers
          2






          active

          oldest

          votes


















          1














          You don't need to install virtualbox-dkms.



          You do need to install dkms package, which is a part of standard Debian repository.



          I normally install it before installing VirtualBox, but the order might not matter:



          $ sudo aptitude install dkms
          $ sudo aptitude install virtualbox-4.3


          During kernel updates you will see that DKMS updates VirtualBox modules automatically.



          https://www.virtualbox.org/wiki/Linux_Downloads:




          Note: Ubuntu/Debian users might want to install the dkms package to
          ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt
          and vboxnetadp) are properly updated if the linux kernel version
          changes during the next apt-get upgrade. For Debian it is available in
          Lenny backports and in the normal repository for Squeeze and later.







          share|improve this answer































            0














            Now that it's a seperate package it depends on the OSE version. When trying to install the PUEL version (the most recent version) on Ubuntu / Debian, just add the following file for e.g. 6.0.2 @ /usr/src/vboxhost-6.0.2/dkms.conf:



            PACKAGE_NAME="vboxhost"
            PACKAGE_VERSION="6.0.2"
            MAKE[0]="make"
            CLEAN="make clean"
            BUILT_MODULE_NAME[0]="vboxdrv"
            BUILT_MODULE_NAME[1]="vboxnetadp"
            BUILT_MODULE_NAME[2]="vboxnetflt"
            BUILT_MODULE_NAME[3]="vboxpci"
            DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
            DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
            DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
            DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
            AUTOINSTALL="yes"


            and run dkms autoinstall.






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              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%2fsuperuser.com%2fquestions%2f776689%2fhow-to-install-latest-virtualbox-dkms-with-latest-virtualbox-on-debian-stable-wh%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









              1














              You don't need to install virtualbox-dkms.



              You do need to install dkms package, which is a part of standard Debian repository.



              I normally install it before installing VirtualBox, but the order might not matter:



              $ sudo aptitude install dkms
              $ sudo aptitude install virtualbox-4.3


              During kernel updates you will see that DKMS updates VirtualBox modules automatically.



              https://www.virtualbox.org/wiki/Linux_Downloads:




              Note: Ubuntu/Debian users might want to install the dkms package to
              ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt
              and vboxnetadp) are properly updated if the linux kernel version
              changes during the next apt-get upgrade. For Debian it is available in
              Lenny backports and in the normal repository for Squeeze and later.







              share|improve this answer




























                1














                You don't need to install virtualbox-dkms.



                You do need to install dkms package, which is a part of standard Debian repository.



                I normally install it before installing VirtualBox, but the order might not matter:



                $ sudo aptitude install dkms
                $ sudo aptitude install virtualbox-4.3


                During kernel updates you will see that DKMS updates VirtualBox modules automatically.



                https://www.virtualbox.org/wiki/Linux_Downloads:




                Note: Ubuntu/Debian users might want to install the dkms package to
                ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt
                and vboxnetadp) are properly updated if the linux kernel version
                changes during the next apt-get upgrade. For Debian it is available in
                Lenny backports and in the normal repository for Squeeze and later.







                share|improve this answer


























                  1












                  1








                  1







                  You don't need to install virtualbox-dkms.



                  You do need to install dkms package, which is a part of standard Debian repository.



                  I normally install it before installing VirtualBox, but the order might not matter:



                  $ sudo aptitude install dkms
                  $ sudo aptitude install virtualbox-4.3


                  During kernel updates you will see that DKMS updates VirtualBox modules automatically.



                  https://www.virtualbox.org/wiki/Linux_Downloads:




                  Note: Ubuntu/Debian users might want to install the dkms package to
                  ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt
                  and vboxnetadp) are properly updated if the linux kernel version
                  changes during the next apt-get upgrade. For Debian it is available in
                  Lenny backports and in the normal repository for Squeeze and later.







                  share|improve this answer













                  You don't need to install virtualbox-dkms.



                  You do need to install dkms package, which is a part of standard Debian repository.



                  I normally install it before installing VirtualBox, but the order might not matter:



                  $ sudo aptitude install dkms
                  $ sudo aptitude install virtualbox-4.3


                  During kernel updates you will see that DKMS updates VirtualBox modules automatically.



                  https://www.virtualbox.org/wiki/Linux_Downloads:




                  Note: Ubuntu/Debian users might want to install the dkms package to
                  ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt
                  and vboxnetadp) are properly updated if the linux kernel version
                  changes during the next apt-get upgrade. For Debian it is available in
                  Lenny backports and in the normal repository for Squeeze and later.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 16 '15 at 9:45









                  dezlovdezlov

                  39029




                  39029

























                      0














                      Now that it's a seperate package it depends on the OSE version. When trying to install the PUEL version (the most recent version) on Ubuntu / Debian, just add the following file for e.g. 6.0.2 @ /usr/src/vboxhost-6.0.2/dkms.conf:



                      PACKAGE_NAME="vboxhost"
                      PACKAGE_VERSION="6.0.2"
                      MAKE[0]="make"
                      CLEAN="make clean"
                      BUILT_MODULE_NAME[0]="vboxdrv"
                      BUILT_MODULE_NAME[1]="vboxnetadp"
                      BUILT_MODULE_NAME[2]="vboxnetflt"
                      BUILT_MODULE_NAME[3]="vboxpci"
                      DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
                      DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
                      DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
                      DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
                      AUTOINSTALL="yes"


                      and run dkms autoinstall.






                      share|improve this answer




























                        0














                        Now that it's a seperate package it depends on the OSE version. When trying to install the PUEL version (the most recent version) on Ubuntu / Debian, just add the following file for e.g. 6.0.2 @ /usr/src/vboxhost-6.0.2/dkms.conf:



                        PACKAGE_NAME="vboxhost"
                        PACKAGE_VERSION="6.0.2"
                        MAKE[0]="make"
                        CLEAN="make clean"
                        BUILT_MODULE_NAME[0]="vboxdrv"
                        BUILT_MODULE_NAME[1]="vboxnetadp"
                        BUILT_MODULE_NAME[2]="vboxnetflt"
                        BUILT_MODULE_NAME[3]="vboxpci"
                        DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
                        DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
                        DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
                        DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
                        AUTOINSTALL="yes"


                        and run dkms autoinstall.






                        share|improve this answer


























                          0












                          0








                          0







                          Now that it's a seperate package it depends on the OSE version. When trying to install the PUEL version (the most recent version) on Ubuntu / Debian, just add the following file for e.g. 6.0.2 @ /usr/src/vboxhost-6.0.2/dkms.conf:



                          PACKAGE_NAME="vboxhost"
                          PACKAGE_VERSION="6.0.2"
                          MAKE[0]="make"
                          CLEAN="make clean"
                          BUILT_MODULE_NAME[0]="vboxdrv"
                          BUILT_MODULE_NAME[1]="vboxnetadp"
                          BUILT_MODULE_NAME[2]="vboxnetflt"
                          BUILT_MODULE_NAME[3]="vboxpci"
                          DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
                          AUTOINSTALL="yes"


                          and run dkms autoinstall.






                          share|improve this answer













                          Now that it's a seperate package it depends on the OSE version. When trying to install the PUEL version (the most recent version) on Ubuntu / Debian, just add the following file for e.g. 6.0.2 @ /usr/src/vboxhost-6.0.2/dkms.conf:



                          PACKAGE_NAME="vboxhost"
                          PACKAGE_VERSION="6.0.2"
                          MAKE[0]="make"
                          CLEAN="make clean"
                          BUILT_MODULE_NAME[0]="vboxdrv"
                          BUILT_MODULE_NAME[1]="vboxnetadp"
                          BUILT_MODULE_NAME[2]="vboxnetflt"
                          BUILT_MODULE_NAME[3]="vboxpci"
                          DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
                          DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
                          AUTOINSTALL="yes"


                          and run dkms autoinstall.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 7 at 12:14









                          snevassnevas

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • 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%2fsuperuser.com%2fquestions%2f776689%2fhow-to-install-latest-virtualbox-dkms-with-latest-virtualbox-on-debian-stable-wh%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

                              Сан-Квентин

                              8-я гвардейская общевойсковая армия

                              Алькесар