~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/install_proc.txt

  • Committer: dcoles
  • Date: 2008-07-02 03:10:36 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:797
Setup: Addition of an automatic jail builder. This means we no longer are 
required to maintain an explicit list of files and libraries that can be easily 
broken by a single update to the system. It also goes a huge way to making IVLE 
not only more 'update maintainable' but portable to other Unix systems.  
(Should be fairly trivial if the system supports APT, should be able to be 
modified to support other package manager systems with a bit of work).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Installation Procedure for IVLE
2
2
# ===============================
3
3
 
4
 
# Target Platform: Ubuntu 7.10
 
4
# Target Platform: Ubuntu 8.04
5
5
#
6
6
# IMPORTANT: This is NOT a shell script. It has interactive sections and
7
7
# things that need to be customized.
16
16
# Author: Matt Giuca
17
17
# Date: 29/1/2008
18
18
 
19
 
sudo vim /etc/apt/sources.list
20
 
 
21
 
# Gutsy by default had the CD-ROM packages selected, and the Internet packages
22
 
# commented out. (A comment in the apt sources list said it was because it
23
 
# failed to verify - IMPORTANT?? Probably not.)
24
 
# Comment out line 4 (deb cdrom:...)
25
 
 
26
 
# Uncomment ALL the lines for main, restricted and universe
27
 
# (deb http:...gutsy main restricted, deb-src ... main restricted
28
 
# deb http:...gutsy universe)
29
 
# Universe is important for pysvn (python-svn) later on
30
 
# :wq
31
 
 
32
19
##########################################################################
33
20
# Apt packages
34
21
##########################################################################
35
22
 
36
 
sudo apt-get update
37
23
sudo apt-get install subversion
38
24
sudo apt-get install gcc libc6 libc6-dev make
39
25
sudo apt-get install apache2 libapache2-mod-python libapache2-svn
40
26
sudo apt-get install python2.5-dev python-svn python-webpy
41
 
sudo apt-get install python-numpy python-matplotlib
42
27
sudo apt-get install postgresql python-pygresql python-ldap
43
28
sudo apt-get install php5 php5-pgsql
44
 
 
45
 
# Note: I had a lot of trouble with the python-svn package.
46
 
# After playing around a bit it started working.
47
 
# python -c 'import pysvn'
48
 
# to test if it worked.
49
 
# Do Not install python-svn-dbg.
50
 
 
51
 
##########################################################################
52
 
# Python packages needed by IVLE or student code
53
 
##########################################################################
54
 
#
55
 
# See trunk/doc/dependencies.txt
56
 
 
57
 
# CJSON
58
 
# Note: apt-get install python-cjson puts it in an unexpected place.
59
 
# Setup doesn't handle this correctly, so just install by hand:
60
 
 
61
 
wget 'http://pypi.python.org/packages/source/p/python-cjson/python-cjson-1.0.5.tar.gz'
62
 
tar -zxvf python-cjson-1.0.5.tar.gz
63
 
 
64
 
cd python-cjson-1.0.5
65
 
./setup.py build
66
 
sudo ./setup.py install
67
 
cd ..
68
 
 
69
 
 
70
 
# NLTK for student code
71
 
wget 'http://prdownloads.sourceforge.net/nltk/nltk-0.9.2.tar.gz'
72
 
tar -xzvf nltk-0.9.2.tar.gz
73
 
wget 'http://prdownloads.sourceforge.net/nltk/nltk-data-0.9.2.zip'
74
 
unzip nltk-data-0.9.2.zip
75
 
 
76
 
cd nltk-0.9.2
77
 
sudo python setup.py install
78
 
cd ..
79
 
sudo mkdir /usr/share/nltk
80
 
sudo mv data /usr/share/nltk/
81
 
sudo chmod -R g+r /usr/share/nltk/data
82
 
 
83
 
# Beautiful Soup for student code
84
 
# via apt-get
85
 
sudo apt-get install python-beautifulsoup
86
 
# or
87
 
wget 'http://www.crummy.com/software/BeautifulSoup/download/BeautifulSoup.tar.gz'
88
 
tar -xzvf BeautifulSoup.tar.gz
89
 
 
90
 
cd BeautifulSoup*
91
 
sudo python setup.py install
92
 
cd ..
93
 
 
94
 
# LXML for student code
95
 
sudo apt-get install python-lxml
96
 
 
97
 
# Python Imaging Library for student code
98
 
sudo apt-get install python-imaging
99
 
 
100
 
# Elementtree 1.3a for student code
101
 
# Needs libtidy for 'TidyHTML' parts
102
 
sudo apt-get install libtidy-0.99-0 
103
 
 
104
 
svn co http://svn.effbot.org/public/tags/elementtree-1.3a3-20070912/ elementtree1.3
105
 
cd elementtree1.3
106
 
sudo python setup.py install
107
 
cd ..
108
 
 
109
 
# SimpleTAL for student code
110
 
sudo apt-get install python-simpletal
111
 
 
112
 
# SciPy for student code
113
 
sudo apt-get install python-scipy
114
 
 
115
 
# Documentation packages needed for tutorial system: Docutils, Epydoc
116
 
# wget each of these, untar them, and then do: sudo python ./setup.py install
117
 
 
118
 
http://docutils.sourceforge.net/docutils-snapshot.tgz
119
 
http://downloads.sourceforge.net/epydoc/epydoc-3.0.1.tar.gz?use_mirror=optusnet
120
 
 
121
 
# Or using apt-get
122
 
# (Note: epydoc doesn't work on Fiesty using apt-get)
123
 
 
 
29
sudo apt-get install python-cjson
124
30
sudo apt-get install python-docutils python-epydoc
125
31
 
126
32
##########################################################################