First make sure you have the latest updates:
sudo apt-get update
sudo apt-get upgradeIn order to install VirtualBox on Ubuntu Server you first have to make sure that correct kernel is visible. First check current system version with command
uname -rThen make sure that system headers match this version. If that is not the case, simply run
sudo apt-get install linux-headers-[version] replacing [version] with your system version (previous command output)
After making sure kernel headers are correct, install VirtualBox using apt-get with
sudo apt-get install virtualbox-oseAlternatively, you can download and install appropriate .deb package (for example virtualbox-3.2.deb). After you download .deb installation file you can simply install it using command
sudo dpkg -i That’s it!
No comments:
Post a Comment