This is pretty similar to my other post, Linux Mint 14: Installing Virtual Box 4.2, but with a slightly updated version of Virtual Box. It also stands to reason that this process should also work in Mint 14 if you haven’t upgraded.
1. First head to virtualbox.org Downloads and download the latest copy. Make sure you choose “Ubuntu 13.04 (“Raring Ringtail”)”. Download the i386 version if you are not running the x64 version of Linux (which unless you have 8 year old hardware I would strongly recommend converting to 64bit to utilize the full capabilities of your machine, especially when it comes to running virtual machines). Otherwise get the AMD64 version (yes, even if you have an Intel machine like I do). Then go back one page to the main downloads and find the line that says “VirtualBox 4.2.14 Oracle VM VirtualBox Extension Pack” and click the “All supported platforms” link.
2. I personally like to install software in terminal so I can see what is going on if there are any issues. Open a terminal window and change directories to where you downloaded both files. Usually in your Downloads directory. cd ~/Downloads will get you there quickly.
3. It seems Linux Mint 15 comes with DKMS already installed so this can be skipped, otherwise you should run:
sudo apt-get install dkms
4. Run the following to install it:
sudo dpkg -i virtualbox-4.2_4.2.14-86644~Ubuntu~raring_amd64.deb
Don’t forget, the TAB key auto-completes the file name!
Note: I had previously updated my kernel and headers, so if you get errors during the install and it complains about kernel modules, run sudo apt-get dist-upgrade to get you to the latest and greatest kernel and kernel headers. Reboot and try the install again.
5. VirtualBox needs your user added to the virtualbox group that the installer created for certain functions like USB to work correctly. Use the following command:
sudo usermod -a -G vboxusers usernamehere
6. Log out of all sessions and log back in for the the group addition to take effect on your user.
7. There should be a new icon in the menu under System Tools if you are running Cinnamon (I don’t know about the other flavors). Open it from there and it should start. Go to File, Preferences, Extensions. Click the “Add Package” button and browse to where the second file was saved.
That’s it! Assuming there were no errors you should be ready for virtual machine heaven.