How to upgrade VirtualBox 5.0 to 5.2?












1















I use Whonix in VirtualBox and Whonix is currently not working and I think it is because I need to upgrade VirtualBox to the newest version.



I have a lot of saved files and stuff on my Whonix computer that I can't access now. If I update VirtualBox will the files be lost?



What is the best way to upgrade VirtualBox?










share|improve this question

























  • It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

    – user535733
    Jan 31 '18 at 17:11
















1















I use Whonix in VirtualBox and Whonix is currently not working and I think it is because I need to upgrade VirtualBox to the newest version.



I have a lot of saved files and stuff on my Whonix computer that I can't access now. If I update VirtualBox will the files be lost?



What is the best way to upgrade VirtualBox?










share|improve this question

























  • It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

    – user535733
    Jan 31 '18 at 17:11














1












1








1








I use Whonix in VirtualBox and Whonix is currently not working and I think it is because I need to upgrade VirtualBox to the newest version.



I have a lot of saved files and stuff on my Whonix computer that I can't access now. If I update VirtualBox will the files be lost?



What is the best way to upgrade VirtualBox?










share|improve this question
















I use Whonix in VirtualBox and Whonix is currently not working and I think it is because I need to upgrade VirtualBox to the newest version.



I have a lot of saved files and stuff on my Whonix computer that I can't access now. If I update VirtualBox will the files be lost?



What is the best way to upgrade VirtualBox?







upgrade virtualbox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 4:40









Kevin Bowen

14.4k155970




14.4k155970










asked Jan 31 '18 at 17:06









AlbertAlbert

613




613













  • It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

    – user535733
    Jan 31 '18 at 17:11



















  • It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

    – user535733
    Jan 31 '18 at 17:11

















It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

– user535733
Jan 31 '18 at 17:11





It depends upon which version of Ubuntu you are running, and which method you used to install your Vbox host.

– user535733
Jan 31 '18 at 17:11










2 Answers
2






active

oldest

votes


















1














You shouldn't lose your settings when you upgrade VirtualBox. If you are worried about losing your configuration or VM data, back up the "Virtual VMs" directory, Usually located at /home/userDirectory/Virtual VMs/



I suggest that you uninstall the package and install from the Oracle website.
Download from their webpage: https://www.virtualbox.org/wiki/Linux_Downloads



Uninstall using:



sudo apt-get remove virtualbox-5.0


Install with:



sudo dpkg -i virtualbox-5.2.x.x.x.x.x-xxxxxx~Ubuntu~XXXXX_amd64.deb





share|improve this answer

































    0














    I'd recommend a backup of all your virtual machines first hand.



    They can be found in /home/user/VirtualBox VMs by default, if you can't find them, open VirtualBox, do Ctrl + G and you can see the "Default Machine Folder", this is where your virtual machines are located.



    Now you need to uninstall VirtualBox:



    sudo apt autoremove --purge virtualbox*


    Download the latest version of VirtualBox from here for your distribution.



    This installation should work on most Distros, so try to run:



    sudo apt install /path/to/.deb/file/





    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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%2faskubuntu.com%2fquestions%2f1001789%2fhow-to-upgrade-virtualbox-5-0-to-5-2%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 shouldn't lose your settings when you upgrade VirtualBox. If you are worried about losing your configuration or VM data, back up the "Virtual VMs" directory, Usually located at /home/userDirectory/Virtual VMs/



      I suggest that you uninstall the package and install from the Oracle website.
      Download from their webpage: https://www.virtualbox.org/wiki/Linux_Downloads



      Uninstall using:



      sudo apt-get remove virtualbox-5.0


      Install with:



      sudo dpkg -i virtualbox-5.2.x.x.x.x.x-xxxxxx~Ubuntu~XXXXX_amd64.deb





      share|improve this answer






























        1














        You shouldn't lose your settings when you upgrade VirtualBox. If you are worried about losing your configuration or VM data, back up the "Virtual VMs" directory, Usually located at /home/userDirectory/Virtual VMs/



        I suggest that you uninstall the package and install from the Oracle website.
        Download from their webpage: https://www.virtualbox.org/wiki/Linux_Downloads



        Uninstall using:



        sudo apt-get remove virtualbox-5.0


        Install with:



        sudo dpkg -i virtualbox-5.2.x.x.x.x.x-xxxxxx~Ubuntu~XXXXX_amd64.deb





        share|improve this answer




























          1












          1








          1







          You shouldn't lose your settings when you upgrade VirtualBox. If you are worried about losing your configuration or VM data, back up the "Virtual VMs" directory, Usually located at /home/userDirectory/Virtual VMs/



          I suggest that you uninstall the package and install from the Oracle website.
          Download from their webpage: https://www.virtualbox.org/wiki/Linux_Downloads



          Uninstall using:



          sudo apt-get remove virtualbox-5.0


          Install with:



          sudo dpkg -i virtualbox-5.2.x.x.x.x.x-xxxxxx~Ubuntu~XXXXX_amd64.deb





          share|improve this answer















          You shouldn't lose your settings when you upgrade VirtualBox. If you are worried about losing your configuration or VM data, back up the "Virtual VMs" directory, Usually located at /home/userDirectory/Virtual VMs/



          I suggest that you uninstall the package and install from the Oracle website.
          Download from their webpage: https://www.virtualbox.org/wiki/Linux_Downloads



          Uninstall using:



          sudo apt-get remove virtualbox-5.0


          Install with:



          sudo dpkg -i virtualbox-5.2.x.x.x.x.x-xxxxxx~Ubuntu~XXXXX_amd64.deb






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 27 '18 at 21:31









          Zanna

          50.4k13133241




          50.4k13133241










          answered Jan 31 '18 at 19:17









          leafdudeleafdude

          112




          112

























              0














              I'd recommend a backup of all your virtual machines first hand.



              They can be found in /home/user/VirtualBox VMs by default, if you can't find them, open VirtualBox, do Ctrl + G and you can see the "Default Machine Folder", this is where your virtual machines are located.



              Now you need to uninstall VirtualBox:



              sudo apt autoremove --purge virtualbox*


              Download the latest version of VirtualBox from here for your distribution.



              This installation should work on most Distros, so try to run:



              sudo apt install /path/to/.deb/file/





              share|improve this answer




























                0














                I'd recommend a backup of all your virtual machines first hand.



                They can be found in /home/user/VirtualBox VMs by default, if you can't find them, open VirtualBox, do Ctrl + G and you can see the "Default Machine Folder", this is where your virtual machines are located.



                Now you need to uninstall VirtualBox:



                sudo apt autoremove --purge virtualbox*


                Download the latest version of VirtualBox from here for your distribution.



                This installation should work on most Distros, so try to run:



                sudo apt install /path/to/.deb/file/





                share|improve this answer


























                  0












                  0








                  0







                  I'd recommend a backup of all your virtual machines first hand.



                  They can be found in /home/user/VirtualBox VMs by default, if you can't find them, open VirtualBox, do Ctrl + G and you can see the "Default Machine Folder", this is where your virtual machines are located.



                  Now you need to uninstall VirtualBox:



                  sudo apt autoremove --purge virtualbox*


                  Download the latest version of VirtualBox from here for your distribution.



                  This installation should work on most Distros, so try to run:



                  sudo apt install /path/to/.deb/file/





                  share|improve this answer













                  I'd recommend a backup of all your virtual machines first hand.



                  They can be found in /home/user/VirtualBox VMs by default, if you can't find them, open VirtualBox, do Ctrl + G and you can see the "Default Machine Folder", this is where your virtual machines are located.



                  Now you need to uninstall VirtualBox:



                  sudo apt autoremove --purge virtualbox*


                  Download the latest version of VirtualBox from here for your distribution.



                  This installation should work on most Distros, so try to run:



                  sudo apt install /path/to/.deb/file/






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 31 '18 at 18:57









                  ShayanShayan

                  347417




                  347417






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f1001789%2fhow-to-upgrade-virtualbox-5-0-to-5-2%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

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                       ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕