How to properly remove virtual box.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
fernandoc1
Posts: 33
Joined: 23. Dec 2008, 19:14
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

How to properly remove virtual box.

Post by fernandoc1 »

I'm have some troubles in uninstalling virtual box on Linux hosts. I've already searched in this site for some piece of info about how to do this but I haven't found yet.
I wanna know how to do this, because I'm having a lots of trouble in understanding which steps to follow to make my USB work properly. The info found under the faqs page is not enough for me. Could someone, with a good soul, post here the exact link to the file to be downloaded that will make my USB work?
I've already tried to download the Ubuntu 9.04 ("Jaunty Jackalope") file, but I'm having trouble with the dependeces - it says that libpython2.6 is missing, but I have python installed.
The only way I found to install was downloading the All distributions package. It installed properly and everything, except the USB, is wonderfully working.
When I type ./VirtualBox-2.2.2-46594-Linux_x86.run --help on console, there is no info about how to remove virtual box. Can someone help me on this?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to properly remove virtual box.

Post by Perryg »

Should be:
./VirtualBox-2.2.2-46594-Linux_x86.run remove
fernandoc1
Posts: 33
Joined: 23. Dec 2008, 19:14
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: How to properly remove virtual box.

Post by fernandoc1 »

how to remove a debian package installed?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to properly remove virtual box.

Post by Perryg »

How did you install the Debian package?
jowilkin
Posts: 14
Joined: 28. Apr 2009, 01:20
Primary OS: Ubuntu 8.04
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 8.04

Re: How to properly remove virtual box.

Post by jowilkin »

Probably the best way to install and remove VirtualBox on Ubuntu is to use the repository on http://www.virtualbox.org/wiki/Linux_Downloads

Not the link at the top of the page, but the instructions following the initial links starting with "Debian-based Linux distributions: Add one of the following lines according to your distribution to your /etc/apt/sources.list: "

An abbreviated version for you is to run the following commands in order from the command line:

Code: Select all

sudo echo "deb http://download.virtualbox.org/virtualbox/debian jaunty non-free" >> /etc/apt/sources.list
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
sudo aptitude install virtualbox-2.2
Then to remove it all you have to do is type:

Code: Select all

sudo aptitude remove virtualbox-2.2
BTW getting usb to work is not as simple as downloading a file. You need to install the guest additions in your guest operating system (the one running in virtual box) and configure your host operating system (the one physically installed on the machine) to allow virtual box to access the usb devices. Uninstalling and then reinstalling will not help with this.
Post Reply