Console Extension Pack installation
-
- Posts: 2
- Joined: 2. Sep 2011, 17:13
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Linux, Windows
Console Extension Pack installation
Is there any way to install VM VirtualBox Extension Pack directly from command line console? I have not find any instructions for that
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Console Extension Pack installation
Its listed in your VirtualBox usrs guide.
Code: Select all
VBoxManage extpack install [--replace] <tarball> |
uninstall [--force] <name> |
cleanup
-
- Posts: 2
- Joined: 2. Sep 2011, 17:13
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Linux, Windows
Re: Console Extension Pack installation
Thx for quick reply
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Console Extension Pack installation
May want to use my script for upgrades:
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.
Code: Select all
#!/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
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.
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.
-
- Posts: 14
- Joined: 18. Mar 2011, 02:29
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: *nix/Windows
Re: Console Extension Pack installation
Does that script need to be run as root?
Guessing it doesn't since you have sudo in there.
Guessing it doesn't since you have sudo in there.
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Console Extension Pack installation
Correct. But if your user is not in the sudoers file or group, then remove the sudo command from it and run it as root.
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.
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.
-
- Posts: 1
- Joined: 28. Oct 2015, 04:14
Re: Console Extension Pack installation
works perfect, thank you very much!Sasquatch wrote:May want to use my script for upgrades: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.Code: Select all
#!/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