Virtualbox uninstalling problem 16.04












3














I have virtualbox, i don't remember how i did download it. I want to update, so i am going to delete this version. To use my virtualbox i type virtualbox in terminal, but when i type sudo apt-get remove virtualbox it says;



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


So how am i supposed to uninstall it?










share|improve this question


















  • 1




    In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
    – heynnema
    Aug 13 '16 at 0:45
















3














I have virtualbox, i don't remember how i did download it. I want to update, so i am going to delete this version. To use my virtualbox i type virtualbox in terminal, but when i type sudo apt-get remove virtualbox it says;



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


So how am i supposed to uninstall it?










share|improve this question


















  • 1




    In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
    – heynnema
    Aug 13 '16 at 0:45














3












3








3


2





I have virtualbox, i don't remember how i did download it. I want to update, so i am going to delete this version. To use my virtualbox i type virtualbox in terminal, but when i type sudo apt-get remove virtualbox it says;



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


So how am i supposed to uninstall it?










share|improve this question













I have virtualbox, i don't remember how i did download it. I want to update, so i am going to delete this version. To use my virtualbox i type virtualbox in terminal, but when i type sudo apt-get remove virtualbox it says;



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


So how am i supposed to uninstall it?







apt 16.04 virtualbox uninstall






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 12 '16 at 0:44









KihlajKihlaj

3719




3719








  • 1




    In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
    – heynnema
    Aug 13 '16 at 0:45














  • 1




    In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
    – heynnema
    Aug 13 '16 at 0:45








1




1




In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
– heynnema
Aug 13 '16 at 0:45




In terminal, type: "dpkg -l virtualbox", without the quotes, and that'll tell you the correct name to use. It's probably something like "virtualbox-5.0".
– heynnema
Aug 13 '16 at 0:45










5 Answers
5






active

oldest

votes


















3














The package is not called Virtualbox probably. One way to find out the name is to type



aptitude search virtualbox*



in a terminal and it's going to show you all the virtualbox related packages including the one installed. Installed packages begin with letter i.



Another way is to use synaptic and type virtualbox in the search box. It will show you how the installed packages are called.






share|improve this answer





















  • There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
    – Kihlaj
    Aug 12 '16 at 1:02










  • You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
    – Stormlord
    Aug 12 '16 at 1:04










  • How many ways are there to install a package?
    – Kihlaj
    Aug 12 '16 at 1:07










  • deb packages, snaps, compile from source.
    – Stormlord
    Aug 12 '16 at 1:09










  • A lot, i guess :) askubuntu.com/questions/445903/…
    – Kihlaj
    Aug 12 '16 at 1:09





















6














Depending on your version... try this command



sudo apt-get remove VirtualBox-5.1


Find your version by launching the app, then select Help->About. You will get a long version number (eg. 5.1.18r114002). Ignore anything past the second decimal point; in my case it is version "5.1".






share|improve this answer

















  • 2




    Did you test this by any chance?
    – Elder Geek
    Apr 9 '17 at 15:12



















1














If you didn't install it from the repsoitories and you can't find it with dpkg -l you may have obtained it from the Oracle website and installed it manually. If so, this quote from section 2.3.3.4 (Pg 40) of the manual relates to your situation.



Before updating or uninstalling VirtualBox, you must terminate any virtual machines which are
currently running and exit the VirtualBox or VBoxSVC applications. To update VirtualBox, simply
run the installer of the updated version. To uninstall VirtualBox, invoke the installer like this:
sudo ./VirtualBox.run uninstall
or as root
./VirtualBox.run uninstall
. Starting with version 2.2.2, you can uninstall the .run package by invoking
/opt/VirtualBox/uninstall.sh
To manually uninstall VirtualBox, simply undo the steps in the manual installation in reverse
order.





share|improve this answer





























    1














    If you have manually installed the Virtualbox package from Oracle's website, use this:



    sudo dpkg -r virtualbox-5.2


    Change the "5.2" for the version that you have installed.



    If you need to check the virtualbox version installed in you pc, use this:



    dpkg-query --show |grep -i virtualbox





    share|improve this answer































      0














      Run the following commands:



      $ whereis vbox


      copy all the folders in the output



      $ sudo rm -rf (all the folders)

      $ whereis virtualbox


      copy all the folders in the output



      $ sudo rm -rf (all folders)

      $ sudo apt-get remove virtualbox-* --purge


      This is how i removed it. Hope it helps.






      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%2f811253%2fvirtualbox-uninstalling-problem-16-04%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3














        The package is not called Virtualbox probably. One way to find out the name is to type



        aptitude search virtualbox*



        in a terminal and it's going to show you all the virtualbox related packages including the one installed. Installed packages begin with letter i.



        Another way is to use synaptic and type virtualbox in the search box. It will show you how the installed packages are called.






        share|improve this answer





















        • There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
          – Kihlaj
          Aug 12 '16 at 1:02










        • You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
          – Stormlord
          Aug 12 '16 at 1:04










        • How many ways are there to install a package?
          – Kihlaj
          Aug 12 '16 at 1:07










        • deb packages, snaps, compile from source.
          – Stormlord
          Aug 12 '16 at 1:09










        • A lot, i guess :) askubuntu.com/questions/445903/…
          – Kihlaj
          Aug 12 '16 at 1:09


















        3














        The package is not called Virtualbox probably. One way to find out the name is to type



        aptitude search virtualbox*



        in a terminal and it's going to show you all the virtualbox related packages including the one installed. Installed packages begin with letter i.



        Another way is to use synaptic and type virtualbox in the search box. It will show you how the installed packages are called.






        share|improve this answer





















        • There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
          – Kihlaj
          Aug 12 '16 at 1:02










        • You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
          – Stormlord
          Aug 12 '16 at 1:04










        • How many ways are there to install a package?
          – Kihlaj
          Aug 12 '16 at 1:07










        • deb packages, snaps, compile from source.
          – Stormlord
          Aug 12 '16 at 1:09










        • A lot, i guess :) askubuntu.com/questions/445903/…
          – Kihlaj
          Aug 12 '16 at 1:09
















        3












        3








        3






        The package is not called Virtualbox probably. One way to find out the name is to type



        aptitude search virtualbox*



        in a terminal and it's going to show you all the virtualbox related packages including the one installed. Installed packages begin with letter i.



        Another way is to use synaptic and type virtualbox in the search box. It will show you how the installed packages are called.






        share|improve this answer












        The package is not called Virtualbox probably. One way to find out the name is to type



        aptitude search virtualbox*



        in a terminal and it's going to show you all the virtualbox related packages including the one installed. Installed packages begin with letter i.



        Another way is to use synaptic and type virtualbox in the search box. It will show you how the installed packages are called.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 12 '16 at 0:54









        StormlordStormlord

        3,7892927




        3,7892927












        • There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
          – Kihlaj
          Aug 12 '16 at 1:02










        • You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
          – Stormlord
          Aug 12 '16 at 1:04










        • How many ways are there to install a package?
          – Kihlaj
          Aug 12 '16 at 1:07










        • deb packages, snaps, compile from source.
          – Stormlord
          Aug 12 '16 at 1:09










        • A lot, i guess :) askubuntu.com/questions/445903/…
          – Kihlaj
          Aug 12 '16 at 1:09




















        • There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
          – Kihlaj
          Aug 12 '16 at 1:02










        • You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
          – Stormlord
          Aug 12 '16 at 1:04










        • How many ways are there to install a package?
          – Kihlaj
          Aug 12 '16 at 1:07










        • deb packages, snaps, compile from source.
          – Stormlord
          Aug 12 '16 at 1:09










        • A lot, i guess :) askubuntu.com/questions/445903/…
          – Kihlaj
          Aug 12 '16 at 1:09


















        There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
        – Kihlaj
        Aug 12 '16 at 1:02




        There is only one which is unity-scope-virtualbox and it is 76kb. So how can i delete all of it? And in synaptic's search, for virtualbox it said no packages. I just realiazed Ubuntu software thinks virtualbox is not installed.
        – Kihlaj
        Aug 12 '16 at 1:02












        You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
        – Stormlord
        Aug 12 '16 at 1:04




        You have to remember how you installed it. If it's not listed, you probaly didn't use a .deb package.
        – Stormlord
        Aug 12 '16 at 1:04












        How many ways are there to install a package?
        – Kihlaj
        Aug 12 '16 at 1:07




        How many ways are there to install a package?
        – Kihlaj
        Aug 12 '16 at 1:07












        deb packages, snaps, compile from source.
        – Stormlord
        Aug 12 '16 at 1:09




        deb packages, snaps, compile from source.
        – Stormlord
        Aug 12 '16 at 1:09












        A lot, i guess :) askubuntu.com/questions/445903/…
        – Kihlaj
        Aug 12 '16 at 1:09






        A lot, i guess :) askubuntu.com/questions/445903/…
        – Kihlaj
        Aug 12 '16 at 1:09















        6














        Depending on your version... try this command



        sudo apt-get remove VirtualBox-5.1


        Find your version by launching the app, then select Help->About. You will get a long version number (eg. 5.1.18r114002). Ignore anything past the second decimal point; in my case it is version "5.1".






        share|improve this answer

















        • 2




          Did you test this by any chance?
          – Elder Geek
          Apr 9 '17 at 15:12
















        6














        Depending on your version... try this command



        sudo apt-get remove VirtualBox-5.1


        Find your version by launching the app, then select Help->About. You will get a long version number (eg. 5.1.18r114002). Ignore anything past the second decimal point; in my case it is version "5.1".






        share|improve this answer

















        • 2




          Did you test this by any chance?
          – Elder Geek
          Apr 9 '17 at 15:12














        6












        6








        6






        Depending on your version... try this command



        sudo apt-get remove VirtualBox-5.1


        Find your version by launching the app, then select Help->About. You will get a long version number (eg. 5.1.18r114002). Ignore anything past the second decimal point; in my case it is version "5.1".






        share|improve this answer












        Depending on your version... try this command



        sudo apt-get remove VirtualBox-5.1


        Find your version by launching the app, then select Help->About. You will get a long version number (eg. 5.1.18r114002). Ignore anything past the second decimal point; in my case it is version "5.1".







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 9 '17 at 13:47









        HahnskiHahnski

        6112




        6112








        • 2




          Did you test this by any chance?
          – Elder Geek
          Apr 9 '17 at 15:12














        • 2




          Did you test this by any chance?
          – Elder Geek
          Apr 9 '17 at 15:12








        2




        2




        Did you test this by any chance?
        – Elder Geek
        Apr 9 '17 at 15:12




        Did you test this by any chance?
        – Elder Geek
        Apr 9 '17 at 15:12











        1














        If you didn't install it from the repsoitories and you can't find it with dpkg -l you may have obtained it from the Oracle website and installed it manually. If so, this quote from section 2.3.3.4 (Pg 40) of the manual relates to your situation.



        Before updating or uninstalling VirtualBox, you must terminate any virtual machines which are
        currently running and exit the VirtualBox or VBoxSVC applications. To update VirtualBox, simply
        run the installer of the updated version. To uninstall VirtualBox, invoke the installer like this:
        sudo ./VirtualBox.run uninstall
        or as root
        ./VirtualBox.run uninstall
        . Starting with version 2.2.2, you can uninstall the .run package by invoking
        /opt/VirtualBox/uninstall.sh
        To manually uninstall VirtualBox, simply undo the steps in the manual installation in reverse
        order.





        share|improve this answer


























          1














          If you didn't install it from the repsoitories and you can't find it with dpkg -l you may have obtained it from the Oracle website and installed it manually. If so, this quote from section 2.3.3.4 (Pg 40) of the manual relates to your situation.



          Before updating or uninstalling VirtualBox, you must terminate any virtual machines which are
          currently running and exit the VirtualBox or VBoxSVC applications. To update VirtualBox, simply
          run the installer of the updated version. To uninstall VirtualBox, invoke the installer like this:
          sudo ./VirtualBox.run uninstall
          or as root
          ./VirtualBox.run uninstall
          . Starting with version 2.2.2, you can uninstall the .run package by invoking
          /opt/VirtualBox/uninstall.sh
          To manually uninstall VirtualBox, simply undo the steps in the manual installation in reverse
          order.





          share|improve this answer
























            1












            1








            1






            If you didn't install it from the repsoitories and you can't find it with dpkg -l you may have obtained it from the Oracle website and installed it manually. If so, this quote from section 2.3.3.4 (Pg 40) of the manual relates to your situation.



            Before updating or uninstalling VirtualBox, you must terminate any virtual machines which are
            currently running and exit the VirtualBox or VBoxSVC applications. To update VirtualBox, simply
            run the installer of the updated version. To uninstall VirtualBox, invoke the installer like this:
            sudo ./VirtualBox.run uninstall
            or as root
            ./VirtualBox.run uninstall
            . Starting with version 2.2.2, you can uninstall the .run package by invoking
            /opt/VirtualBox/uninstall.sh
            To manually uninstall VirtualBox, simply undo the steps in the manual installation in reverse
            order.





            share|improve this answer












            If you didn't install it from the repsoitories and you can't find it with dpkg -l you may have obtained it from the Oracle website and installed it manually. If so, this quote from section 2.3.3.4 (Pg 40) of the manual relates to your situation.



            Before updating or uninstalling VirtualBox, you must terminate any virtual machines which are
            currently running and exit the VirtualBox or VBoxSVC applications. To update VirtualBox, simply
            run the installer of the updated version. To uninstall VirtualBox, invoke the installer like this:
            sudo ./VirtualBox.run uninstall
            or as root
            ./VirtualBox.run uninstall
            . Starting with version 2.2.2, you can uninstall the .run package by invoking
            /opt/VirtualBox/uninstall.sh
            To manually uninstall VirtualBox, simply undo the steps in the manual installation in reverse
            order.






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 9 '17 at 15:18









            Elder GeekElder Geek

            26.5k952126




            26.5k952126























                1














                If you have manually installed the Virtualbox package from Oracle's website, use this:



                sudo dpkg -r virtualbox-5.2


                Change the "5.2" for the version that you have installed.



                If you need to check the virtualbox version installed in you pc, use this:



                dpkg-query --show |grep -i virtualbox





                share|improve this answer




























                  1














                  If you have manually installed the Virtualbox package from Oracle's website, use this:



                  sudo dpkg -r virtualbox-5.2


                  Change the "5.2" for the version that you have installed.



                  If you need to check the virtualbox version installed in you pc, use this:



                  dpkg-query --show |grep -i virtualbox





                  share|improve this answer


























                    1












                    1








                    1






                    If you have manually installed the Virtualbox package from Oracle's website, use this:



                    sudo dpkg -r virtualbox-5.2


                    Change the "5.2" for the version that you have installed.



                    If you need to check the virtualbox version installed in you pc, use this:



                    dpkg-query --show |grep -i virtualbox





                    share|improve this answer














                    If you have manually installed the Virtualbox package from Oracle's website, use this:



                    sudo dpkg -r virtualbox-5.2


                    Change the "5.2" for the version that you have installed.



                    If you need to check the virtualbox version installed in you pc, use this:



                    dpkg-query --show |grep -i virtualbox






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 17 '17 at 10:48

























                    answered Nov 16 '17 at 1:44









                    leonardo xavierleonardo xavier

                    112




                    112























                        0














                        Run the following commands:



                        $ whereis vbox


                        copy all the folders in the output



                        $ sudo rm -rf (all the folders)

                        $ whereis virtualbox


                        copy all the folders in the output



                        $ sudo rm -rf (all folders)

                        $ sudo apt-get remove virtualbox-* --purge


                        This is how i removed it. Hope it helps.






                        share|improve this answer


























                          0














                          Run the following commands:



                          $ whereis vbox


                          copy all the folders in the output



                          $ sudo rm -rf (all the folders)

                          $ whereis virtualbox


                          copy all the folders in the output



                          $ sudo rm -rf (all folders)

                          $ sudo apt-get remove virtualbox-* --purge


                          This is how i removed it. Hope it helps.






                          share|improve this answer
























                            0












                            0








                            0






                            Run the following commands:



                            $ whereis vbox


                            copy all the folders in the output



                            $ sudo rm -rf (all the folders)

                            $ whereis virtualbox


                            copy all the folders in the output



                            $ sudo rm -rf (all folders)

                            $ sudo apt-get remove virtualbox-* --purge


                            This is how i removed it. Hope it helps.






                            share|improve this answer












                            Run the following commands:



                            $ whereis vbox


                            copy all the folders in the output



                            $ sudo rm -rf (all the folders)

                            $ whereis virtualbox


                            copy all the folders in the output



                            $ sudo rm -rf (all folders)

                            $ sudo apt-get remove virtualbox-* --purge


                            This is how i removed it. Hope it helps.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 18 '18 at 17:06









                            Anuraag RijalAnuraag Rijal

                            1




                            1






























                                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.





                                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%2faskubuntu.com%2fquestions%2f811253%2fvirtualbox-uninstalling-problem-16-04%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

                                Mont Emei

                                Province de Neuquén

                                Soliste