Laura Diane Hamilton

Technical Product Manager at Groupon


How to Upgrade VirtualBox from the Linux Command Line

Here are a few quick commands that you can use to upgrade VirtualBox directly from the Linux CLI.

Check your current virtualbox version: vboxmanage --version

Add the virtualbox repository: sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Add the key: wget -q -O- | sudo apt-key add -

Update: sudo apt-get update

Install the latest version: sudo apt-get install virtualbox-4.3

Check that you have the version you want installed: vboxmanage --version

And finally run virtualbox: virtualbox is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to