Wednesday, September 8, 2010

[Level 2] Use apt-get to Install VritaulBox from official repository

If you want to use apt-get command to install VirtaulBox from official resposity.
The steps are as following:

1. Use browser to connect official website:
http://www.virtualbox.org/
2. Click the left side menu bar with item "download"
3. Select "VirtualBox 3.2.8 for Linux hosts"
4. Then you can see a section call "Debian-based Linux distributions"
5. add respository to your system. (modify /etc/apt/sources.list)
Ex. lucid version
# echo "deb http://download.virtualbox.org/virtualbox/debian lucid non-free" >> /etc/apt/source.list
6. get keys by wget
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
7. update your apt
# sudo apt-get update
8. install by apt-get
# sudo apt-get install virtualbox-3.2

Wish this helps.
regards,
Stanley Huang