
VBoxManage extpack install [--replace] <tarball> |
uninstall [--force] <name> |
cleanup
#!/bin/bash
version=$(vboxmanage -v)
echo $version
var1=$(echo $version | cut -d 'r' -f 1)
echo $var1
var2=$(echo $version | cut -d 'r' -f 2)
echo $var2
file="Oracle_VM_VirtualBox_Extension_Pack-$var1-$var2.vbox-extpack"
echo $file
wget http://download.virtualbox.org/virtualbox/$var1/$file -O /tmp/$file
#sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
sudo VBoxManage extpack install /tmp/$file --replace
Sasquatch wrote:May want to use my script for upgrades:
- Code: Select all Expand viewCollapse view
#!/bin/bash
version=$(vboxmanage -v)
echo $version
var1=$(echo $version | cut -d 'r' -f 1)
echo $var1
var2=$(echo $version | cut -d 'r' -f 2)
echo $var2
file="Oracle_VM_VirtualBox_Extension_Pack-$var1-$var2.vbox-extpack"
echo $file
wget ***: download. virtualbox. org/virtualbox/$var1/$file -O /tmp/$file
#sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
sudo VBoxManage extpack install /tmp/$file --replace
The second to last line is commented because it didn't work with 4.1.0 due to a bug. 4.1.2 still has a bug that you need to enter --replace after the tarball. 4.1.4, the next maintenance release, will have that fixed so it doesn't matter if --replace goes before or after the tarball. You can uncomment the line if you want and not use the --replace option. When you get a new major release, which would most likely be 4.2.0, the ExtPack of 4.1 has to be removed first, it can't be replaced. At least I had that problem when going from 4.0 to 4.1. We'll have to wait and see if it's required with the --replace option.
Return to VirtualBox on Linux Hosts
Users browsing this forum: Plagrö and 19 guests