Reproduced
1, Terminal command Editor Sources.list
?
1 |
sudo gedit /etc/apt/sources .list |
2. Add a software source
Add the following address to the end of Sources.list, save and exit
?
1 |
deb http: //download .virtualbox.org /virtualbox/debian precise contrib |
3. The terminal command imports the public key and updates the source
?
1 |
wget -q http: //download .virtualbox.org /virtualbox/debian/oracle_vbox .asc -O- | sudo apt-key add - |
?
4, Terminal command installation (4.1 is the latest version)
?
1 |
sudo apt-get install virtualbox-4.1 |
5. Add the current user to the user group Vboxusers to support USB. Note: You will log off and log back on after adding is complete to take effect
?
1 |
sudo usermod -a -G vboxusers 当前用户名 |
6, install VirtualBox expansion package to support USB2.0, etc., version to be consistent with VirtualBox.
Go to official website to download VirtualBox 4.1.20 Oracle VM VirtualBox Extension Pack (4.1.20 is the current latest version number). Double-click Install.
Ubuntu Install VirtualBox virtual machine