Remove VirtualBox from linux

Discussions related to using VirtualBox on Linux hosts.
Post Reply
flavio
Posts: 1
Joined: 9. Feb 2009, 00:36

Remove VirtualBox from linux

Post by flavio »

Hi,

I installed VirtualBox 2.1.2 (binaries) for linux hosts (all distributions) without problems but I didn´t found instructions how to remove it. Can anyone help me ?


Thanks in advance.

BR,
Flávio
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

If you use the deb or rpms packages then its a lot easier because they have explicit uninstall options. I am not sure about the all distros .run type kit. One tacky way to do it is to do a modprobe -l | grep /vb then the corresponding modprobe -r to remove them, then use find to look for "VBox*", "vbox" and "virtualbox" then remove them manually.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
rewolff
Posts: 11
Joined: 31. Jul 2008, 20:40

Post by rewolff »

if you have the tarfiles, you can create a list of files with

Code: Select all

tar tf [tarfile] > list-of-files 
then you can remove the list-of-files with:

Code: Select all

rm  `cat list-of-files`
Take care that you do NOT specify -r with the rm command because sometimes the list might contain a directory that has other files from different programs.
rschaffter
Posts: 11
Joined: 1. Dec 2007, 16:29

Post by rschaffter »

I believe if you run the install script again it will complain that it is already installed, and give you the command to uninstall it.

Cheers,

Rod
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Better is to give the --help parameter to the .run file. Should usually generate an options list.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply