How to uninstall a manually built virtualbox

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

How to uninstall a manually built virtualbox

Post by mn »

I have installed Virtualbox-4.3.8-OSE from source using kmk after following https://www.virtualbox.org/wiki/Linux%2 ... structions

Now I want to uninstall it and I don't know how to do it.
1- According to https://www.virtualbox.org/manual/ch02. ... linux-host (section 2.3.3.4), there should be a file named VirtualBox.run but I don't see such file. When I run

Code: Select all

./VirtualBox uninstall
the main window is open! and seems that the option is ignored

2- According to https://www.virtualbox.org/wiki/Linux%2 ... structions, I ran

Code: Select all

#cd out/linux.amd64/release/bin/src/
# make uninstall
make: *** No rule to make target `uninstall'.  Stop.
So I wonder what is the feasible way to uninstall it!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: How to uninstall a manually built virtualbox

Post by loukingjr »

scroll down to 2.3.3.4. Updating and uninstalling VirtualBox. Follow the manually uninstall info.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: How to uninstall a manually built virtualbox

Post by mn »

As I said, I followed 2.3.3.4! but there is no VirtualBox.run.

Also, the uninstall script doesn't work either!

Code: Select all

# ./out/linux.amd64/release/obj/Installer/linux/install/uninstall.sh
Couldn't find a VirtualBox installation to uninstall.
But when I run

Code: Select all

./out/linux.amd64/release/bin/VirtualBox
the main window is opened!
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: How to uninstall a manually built virtualbox

Post by mn »

One more thing to say...
I ran the following commands, so I am pretty sure that virtualbox is installed. Moreover, I can open the main window so virtualbox is definitely installed on my host

Code: Select all

kmk all
make
make install
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 uninstall a manually built virtualbox

Post by Perryg »

make install just compiles the binaries and does not actually install anything.
Unless you packed the build it is not an actual *.run that you would install from. Just remove the build folder if you want to remove VirtualBox.
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: How to uninstall a manually built virtualbox

Post by mn »

OK I understand.
Just one more question. If "make install " is used to just compiles the binaries and does not actually install anything... so what is the differene between "make" and "make install". As far as I know for normal linux installation procedures, "make" compiles and links and "make install" actually install the package (creating symlinks in /usr/ for example or startup scripts, ....)
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 uninstall a manually built virtualbox

Post by Perryg »

The only way to remove those links is to do so manually, since your build is not an actual install binary ( *.run --uninstall ). I personally prefer to make the install by packing ( *.run ) so I can actually run uninstall. Or you can create an *.deb or *.rpm which will have the information for depends built in.
Post Reply