Installing virtualbox on Ubuntu 14.04

In this post I will cover installing Oracle’s virtualbox on Ubuntu 14.04. This will allow me to run Windows and tableau, a program for putting together interactive visualizations. If you are running Ubuntu and taking Coursera’s introduction to data science class you might find this post useful as well. However, having virtualbox installed and available is always a good thing for those situations where Win or Mac are the only options.

I’ll be following the installation instructions at virtualbox.org, so you can also check there for more information. The first step is to add the repository for the Ubuntu 14.04 version:

$ sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian trusty contrib"

Next, download and add the key for apt-secure using:

$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Finally, we update and install using:

$ sudo apt-get update
$ sudo apt-get install virtualbox-4.3

The download and install will take a bit of time because virtualbox is about 70MB. Note: this also installs dkms, as suggested in the original instructions. Finally, we want to install the virtualbox extensions. I downloaded the latest version at this time:

Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack

and installed from the terminal using (you’ll be asked for your password if you don’t use sudo):

$ VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack

You can test the extension is installed using:

$ VBoxManage list extpacks

The response should be something like:

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      4.3.14
Revision:     95030
Edition:
Description:  USB 2.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM
with E1000 support.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

That’s it, virtualbox is installed and ready to go. Just bring up the dash and type virtualbox, then click on the icon. Of course, you can lock it to the launcher if you like.

At this point you can install windows from an image, official media, or other source. I’ll be using a version of windows 7 that I bought for occasions just like this. Checkout the virtualbox first steps guide for help setting up your virtual machine and installing the OS.

Tags

api [1]   arduino [1]   audio [2]   audio features [1]   babel [1]   Bayesian [7]   Beta [1]   blog setup [1]   bootstrap [1]   bottleneck [1]   c++ [1]   caret [1]   cmpy [1]   conditional probability [6]   coursera [1]   coursera intro to data science [3]   css [1]   cython [1]   d3 [2]   decision trees [2]   diy [1]   dropbox [1]   dsp [1]   e1071 [1]   essentia [1]   garmin [1]   geojson [1]   ggplot2 [1]   gis [2]   git [1]   gnuplot [1]   graphs [1]   html5 [1]   igraph [1]   ipython [1]   javascript [7]   joint probability [6]   json [1]   LaTeX [2]   LDA [1]   Lea [2]   machine learning [3]   marginal probability [6]   matplotlib [1]   meteor [2]   mir [1]   MongoDB [3]   music [2]   my python setup [5]   my ubuntu setup [10]   mysql [3]   networks [1]   networkx [1]   nodejs [5]   npm [3]   numexpr [1]   numpy [1]   octave [1]   Open Oakland [2]   openpyxl [1]   pandas [3]   patsy [1]   pip [2]   pweave [1]   pygraphviz [1]   pymc [1]   PySoundFile [2]   python [15]   Python [1]   python 2.7 [5]   python 3.4 [2]   pyyaml [1]   qgis [1]   R [1]   randomForest [1]   restview [1]   resume [1]   rpart [1]   running [1]   scikit-learn [3]   scipy [1]   screen [1]   server setup [1]   shapefile [1]   social networks [1]   Socrata [1]   sound [2]   sphinx [1]   sql [4]   sqlite3 [1]   ssh [1]   ssh keys [1]   statsmodels [1]   supervised learning [2]   sympy [1]   tableau [1]   tinkerer [2]   topic models [1]   tree [1]   ubuntu 14.04 [13]   Ubuntu 14.04 [3]   ubuntu 16.04 [4]   vim [2]   virtualbox [1]   virtualenv [4]   virtualenvwrapper [3]   VPS [1]   vundle [1]   webpack [1]   yaml [1]