-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbootstrap.sh
59 lines (43 loc) · 1.9 KB
/
bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env bash
#update package lists
sudo apt-get update
#####################################
## SET UP PYTHON NLTK ##
## http://nltk.org/ ##
#####################################
#install the pip python package manager
sudo apt-get install -y python-pip vim git-core screen unzip libyaml-dev
#install the python package distribute, a prerequisite of nltk
sudo pip install distribute
#install nltk, the python nlp package
sudo pip install nltk
#download all the data packages for nltk
sudo python -m nltk.downloader all
###################################################
## Python Port of Stanford NLP libraries ##
## https://bitbucket.org/torotoki/corenlp-python ##
###################################################
#install prerequisites
sudo pip install pexpect unidecode jsonrpclib
#clone the repository and download datafiles
git clone https://bitbucket.org/torotoki/corenlp-python.git
wget http://nlp.stanford.edu/software/stanford-corenlp-full-2013-06-20.zip
unzip stanford-corenlp-full-2013-06-20.zip
######################################################
## SET UP R Studio ##
## http://www.rstudio.com/ide/download/serve ##
######################################################
# install base libraries
sudo apt-get install -y r-base gdebi-core libapparmor1
# install R Studio Server
wget http://download2.rstudio.org/rstudio-server-0.97.551-i386.deb
sudo gdebi --n rstudio-server-0.97.551-i386.deb
# for more on getting started with R Studio
# http://www.rstudio.com/ide/docs/server/getting_started
# install python scikit
sudo apt-get install -y build-essential python-dev python-numpy python-setuptools python-scipy libatlas-dev libatlas-base-dev python-matplotlib
sudo pip install -U scikit-learn
# install ipython notebook
# http://ipython.org/notebook.html
# to run it ipython notebook
sudo apt-get install ipython-notebook