Page 1 of 1

Virtual box location

Posted: Mon May 30, 2016 10:02 pm
by Georgia boy
I did an install of virtual box in the terminal. Even rebooted. Checked around but cannot see where it's located at. When it gets installed where does it shoe and what name is it using?

SOLVED Re: Virtual box location

Posted: Mon May 30, 2016 10:39 pm
by Georgia boy
Found it after much trouble and looking. How was I to know it's not called 'Virtual Box' once it's installed? Don't make much sense but after screwing around looking for it finally located.

Re: Virtual box location

Posted: Tue May 31, 2016 12:22 pm
by Flemur
Found it after much trouble and looking. How was I to know it's not called 'Virtual Box' once it's installed?
Well, the executable has the same name as the package: virtualbox

There are a few things you can do to make that easier:
- select package "virtualbox" in synaptic -> Rt-click -> Properties -> Installed files. Look for "bin".
- look at what the system menu item for v-box actually does
- look for files with part of the name:

Code: Select all

sudo find / -iname "*virtual*" | grep bin
- I don't use menus much at all, so to make launching stuff easier from a terminal, use this script, "W":

Code: Select all

#!/bin/bash
if [ $# -lt 1 ]
then
  echo Usage: `basename $0` pattern 
  exit 1
fi 
echo $PATH | sed 's/^/ls -A /' | sed 's/:/ |grep '$1'; ls -A /g' | sed 's/$/ |grep '$1'/' | bash | sort 
exit 0
You pass it part of the executable name you want to full name of:

Code: Select all

W irt
returns

Code: Select all

VirtualBox
sirtopnm
virtualbox

Re: SOLVED Re: Virtual box location

Posted: Tue May 31, 2016 12:43 pm
by Fred Barclay
Georgia boy wrote:Found it after much trouble and looking. How was I to know it's not called 'Virtual Box' once it's installed? Don't make much sense but after screwing around looking for it finally located.
On MATE I can type in "virtual" in the menu and it comes up with "Oracle VM Virtualbox". :)

Re: Virtual box location

Posted: Tue May 31, 2016 2:53 pm
by Flemur
Fred Barclay: On MATE I can type in "virtual" in the menu and it comes up with "Oracle VM Virtualbox"
That just returns a fake name; it doesn't tell him the name of the executable or where it is.

Re: Virtual box location

Posted: Tue May 31, 2016 5:00 pm
by Fred Barclay
Flemur wrote: That just returns a fake name; it doesn't tell him the name of the executable or where it is.
That's true, but I'm not exactly sure if by location he means /usr/bin/virtualbox or the location on the menu. :?

Re: SOLVED Re: Virtual box location

Posted: Tue May 31, 2016 5:06 pm
by Cosmo.
Fred Barclay wrote:On MATE I can type in "virtual" in the menu and it comes up with "Oracle VM Virtualbox". :)
The same is true in Cinnamon. To my understanding of the OP this is, what he is looking for.

Problem might be, that he did not install all needed packages. It sounds, as if he installed the version from the repositories, which is far outdated and full of bugs.

Re: Virtual box location

Posted: Sat Jun 04, 2016 11:05 am
by Georgia boy
On my Debian Pc at the moment so don't exactly know what it's called in the applications but it's not Virtual Box. When doing the install from the terminal I told it to install Virtual box, guest addon's etc. Went back to the Synaptic and double checked that they were installed. After going back to the applications and checking each section I found some kind of PC virtual or something like that. Clicked on it and Orical Virtual Box showed and opened up. Got it all setup to run and am playing with it. Popped Fedora on it to check out the differences between it and the Debian and it's spins. Will have to find a cheat sheet for the commands on it but acting nice so far. Might do an install of it also.

Reason for the post though was because I didn't see anything saying Virtual Box or Orical listed in the applications. Just found it by playing around and checking.

Re: Virtual box location

Posted: Sat Jun 04, 2016 11:39 am
by WharfRat
If you installed virtualbox then dpkg will list it. What does this return

Code: Select all

dpkg -l|grep -i virtualbox