Skip to content

Instantly share code, notes, and snippets.

@payoung
Last active November 28, 2015 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save payoung/95a155b2561c922acdc3 to your computer and use it in GitHub Desktop.
Save payoung/95a155b2561c922acdc3 to your computer and use it in GitHub Desktop.
Crouton/Chromebook Setup Instructions and Preferences
# Setup guide for chromebook
# Crouton chroot comes with
# stripped down versions of the OS, so need to add a lot
# of applications
# Due to issues with the anaconda distribution
# and virtualenv, I am running two trusty/unity chroots
# one for data analysis work and one for development work
# I'll call the data chroot 'datatrusty' and the dev chroot
# 'devtrusty'
# Run these commands in Chrome OS terminal after downloading the crouton script
# This will setup your chroot and give it the appropriate name
sudo sh -e ~/Downloads/crouton -r trusty -t unity -n devtrusty
sudo sh -e ~/Downloads/crouton -r trusty -t unity -n datatrusty
# Enter your chroot, because you have two unity targets, you will need to specify
# which chroot you want to enter, you can do so as follows
sudo startunity -n <chrootname>
# I have enough room on my SD card to install the full ubuntu desktop, so while
# these applications are not necessarily needed, I like to have them
# run these for both chroots.
sudo apt-get install ubuntu-standard
sudo apt-get install ubuntu-desktop
sudo apt-get install synaptic
sudo apt-get install vim-gnome
sudo apt-get install chromium-browser
sudo apt-get install git
# configure git global - https://help.github.com/articles/set-up-git/
# For the datatrusty chroot I also installed these applications
sudo apt-get inatll r-base
# isntalled rStudio from website - http://www.rstudio.com/products/rstudio/download/
# installed anaconda from website - http://continuum.io/downloads
# For the devchroot, I installed sublime text and a few python packages to
# get things going
# Install sublime from here - http://www.sublimetext.com/3
sudo apt-get install python-setuptools
sudo apt-get install python-pip #I don't recall having to do this in precise
sudo pip install virtualenv
# And that should do it. Try cloning a repo and set up a virtualenv to test things out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment