Package Base Details: virtualbox-bin

Git Clone URL: (read-only, click to copy)
Keywords: machine oracle virtualization vm
Submitter: Rainmaker
Maintainer: dbermond
Last Packager: dbermond
Votes: 58
Popularity: 1.30
First Submitted: 2015-08-18 09:16
Last Updated: 2021-04-30 10:55

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

drankinatty commented on 2019-01-16 01:42

Note: 6.0.0 VirtualBox (the console) would coredump when accessed via ssh -X and Win7 guests run --headless and accessed via rdesktop were unusable. Oracle released 5.2.24 today and building and downgrading resolved all problems. (5.2 branch will be supported through 2020) Also released today was 6.0.2 (I have not tried it yet). This problem was worked on the vbox-users mailing list, but no bug filed as of yet.

Ralf_Mardorf commented on 2018-12-31 15:08

Your decision makes sense, but it breaks my workflow. Fortunately I even don't need to use NoExtract of pacman.conf, since /usr/local/bin is head of PATH.

$ ls -hAl /usr/bin/virtualbox*
lrwxrwxrwx 1 root root 31 Dec 31 15:46 /usr/bin/virtualbox -> ../../opt/VirtualBox/VirtualBox
lrwxrwxrwx 1 root root 33 Dec 31 15:46 /usr/bin/virtualboxvm -> ../../opt/VirtualBox/VirtualBoxVM
$ echo $PATH | cut -d: -f1
$ ls -hAl /usr/local/bin/virtualbox 
lrwxrwxrwx 1 root root 28 Dec 30 05:15 /usr/local/bin/virtualbox -> /opt/VirtualBox/VirtualBoxVM

Guten Rutsch!


dbermond commented on 2018-12-31 11:40

@Ralf_Mardorf I accidentally removed a line that broke this. Now fixed.

Ralf_Mardorf commented on 2018-12-30 03:58


neither a soft link, nor the PATH variable provide to run the new command, providing the old options such as "--startvm", without using the complete path to the command.

It was like this

$ pacman -Q virtualbox-bin
virtualbox-bin 5.2.22-1
$ pacman -Ql | grep /bin/virtualbox
virtualbox-bin /usr/bin/virtualbox
$ ls -hl /usr/bin/virtualbox
lrwxrwxrwx 1 root root 26 Nov 11 18:25 /usr/bin/virtualbox -> /opt/VirtualBox/VirtualBox
$ /usr/bin/virtualbox --help | grep -e --startvm
  --startvm <vmname|UUID>    start a VM by specifying its UUID or name

and changed to

$ pacman -Q virtualbox-bin
virtualbox-bin 6.0.0-1
$ ls -hl /usr/bin/virtualbox
ls: cannot access '/usr/bin/virtualbox': No such file or directory
$ /usr/bin/VirtualBox --help | grep startvm
If you are looking for --startvm and related options, you need to use VirtualBoxVM.
$ pacman -Ql virtualbox-bin | grep VirtualBoxVM -m1
virtualbox-bin /opt/VirtualBox/VirtualBoxVM
$ grep Exec /opt/VirtualBox/virtualbox.desktop -m1
Exec=VirtualBox %U
$ grep Exec /usr/share/applications/virtualbox.desktop -m1
Exec=VirtualBox %U

Since the desktop files were always using VirtualBox and people writing scripts usually avoid CamelCase, it makes sense to add a new link /usr/bin/virtualbox against /opt/VirtualBox/VirtualBoxVM. Too funny, my several years old script already separated VirtualBox from virtualbox. Don't ask me why I added the %U to the script, looks like a copy and paste error from a desktop file :D.

$ ls -hAl /usr/local/bin/vbox
-rwxr-xr-x 1 root root 157 Jul 17  2014 /usr/local/bin/vbox
$ grep case -A3 /usr/local/bin/vbox 
case $* in
 "") VirtualBox %U ;;
  *) virtualbox --startvm "$*" ;;

However, even if you don't want to add a /usr/bin/virtualbox link, at least add a link /usr/bin/VirtualBoxVM against /opt/VirtualBox/VirtualBoxVM, as it is done for VirtualBox:

$ pacman -Ql virtualbox-bin | grep /usr/bin/VirtualBox
virtualbox-bin /usr/bin/VirtualBox
$ ls -hAl /usr/bin/VirtualBox
lrwxrwxrwx 1 root root 31 Dec 30 01:34 /usr/bin/VirtualBox -> ../../opt/VirtualBox/VirtualBox

Guten Rutsch!


Ralf_Mardorf commented on 2018-11-12 19:27

While I agree that if an AUR helper should fail, the user has to try to build it without a helper, before adding a comment, we shouldn't spread myths regarding yaourt. A lot of users are satisfied by yaourt, there are not many use cases when yaourt could fail. Actually, I build 5.2.22-1 using yaourt 1.9-1 without any issue at all. IIUC the OP was able to build and install virtualbox. If the OP wants to learn what was going wrong regarding the permissions, I recommend to repeat everything and post the used commands and their complete output to an Arch forum, assuming googling shouldn't already enlighten the OP.

Kr1ss commented on 2018-11-12 13:52

I'd recommend not to use yaourt in the first place. It's proven to be unsafe, is deprecated and no longer actively maintained.

If u really must use an AUR helper, I'd suggest taking a look at the Arch Wiki page before choosing one.

Even better would probably be to simply use Arch's default tooling, i.e. makepkg, or but maybe that's more of a personal preference.

dschaefer79 commented on 2018-11-12 08:18

I have installed virtualbox-bin 5.22 but at the end of install. I have this error /usr/lib/yaourt/ line 211: cd: /root: Permission denied

Can anyone help me ?


Kr1ss commented on 2018-10-31 00:19

Yep, SDK is now included in the package.

drankinatty commented on 2018-10-31 00:13

Yikes, whatever changes were made to accommodate the SDK or in the 5.2.20 release has ballooned the package size by 31.74 MiB. Is that expected? I haven't seen that big of a jump in vbox package size in years.

dbermond commented on 2018-10-12 20:17

@Kr1ss Thank you for reporting this. Fixed.