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:
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 lucid non-free" >> /etc/apt/source.list
6. get keys by wget
# wget -q -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.
Stanley Huang