VirtualBox Installation on Linux Mint 15, Command Line, Double-Click or Both

VirtualBox is an application which creates virtual machines on your Linux PC.  In all my Microsoft years I never created a Virtual Machine.  What was the point?  Just more of the same, but now as a Linux Guy I need to check out other distros, and a Virtual Machine is a great way to do that.

You could install Virtual Box from the APT Software Repository, but the longer I use Linux the more I like to use the command line. I found an excellent IT World post with what I was looking for, the standard Linux commands for adding a repository to your sources.list, doing an APT-GET Update and installing the app.

In the IT World post instructions I changed

su -sh -c ‘ echo “deb http://download.virtualbox.org/virtualbox/debian precise contrib” >> /etc/apt/sources.list’

to

su -c ‘ echo “deb http://download.virtualbox.org/virtualbox/debian raring contrib” >> /etc/apt/sources.list’

We don’t need to invoke a shell (-sh), in fact doing so will result in an error.  Secondly, Mint 15 is based on Ubuntu 13.04, “raring,” not “precise,” which is Ubuntu 12.04. If there was a reason for either the shell invocation or using the “precise” package it was never explained in the post.

Apart from that, installation was successful, but I discovered I had installed VirtualBox 4.2.12, not the most current 4.2.16 release.  So I went to the VirtualBox Linux Downloads page and downloaded the 4.2.16 Raring AMD64 DEB.  Once downloaded I double-clicked the DEB and the UI did the rest.

The moral of this story is that you can install Linux apps the geeky way by command line, go UI, or a combination of both, and in the end you will usually find happiness, thanks to the robust and rock solid OS we enjoy in Linux.