Making a fresh data science box by updating your Ubuntu

Operating System

  1. Find out if you are 32 bit or 64 bit


Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 69
Model name:            Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Stepping:              1
CPU MHz:               1698.273
CPU max MHz:           1700.0000
CPU min MHz:           800.0000
BogoMIPS:              3392.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              3072K
NUMA node0 CPU(s):     0-3

  1. Ubuntu 16 upgrade (download from and make a fresh startup USB see
  2. Download Chrome


Dependencies from Terminal

  • Package Manager Synaptic sudo apt-get install synaptic
  • Package Manager Software Centre sudo apt-get install software-center*
  • SSL sudo apt-get install libssl-dev
  • XML sudo apt-get install libxml2-dev
  • Curl sudo apt-get install libcurl4-openssl-dev
  • GIT sudo apt install git
  • GTK $sudo apt-get install wajig

$wajig install libgtk2.0-dev

  • Java
    java -version

    sudo apt-add-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer
    export JAVA_HOME=/usr/lib/jvm/java-8-oracle

    sudo R CMD javareconf

  • R for Linux
Manual Editing of Sources is by (use Ctrl O and Ctrl X to write file and exit nano)

sudo nano /etc/apt/sources.list 

# Grabs your version of Ubuntu as a BASH variable
CODENAME=`grep CODENAME /etc/lsb-release | cut -c 18-`

# Appends the CRAN repository to your sources.list file 
sudo sh -c 'echo "deb $CODENAME" >> /etc/apt/sources.list'


sudo apt-key adv –keyserver –recv-keys E084DAB9

sudo apt-get install r-base-dev

  • RStudio

Download RStudio

  • RStudio Addins


  • Data Mining


install.packages(c(“RcmdrPlugin.epack”, “RcmdrPlugin.KMggplot2”))




$cd Downloads

~/Downloads$ bash

$conda install -c r r-essentials


Author: Ajay Ohri

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: