-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL
95 lines (70 loc) · 2.11 KB
/
INSTALL
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
yum install openssl-devel.x86_64
yum install tkinter.x86_64
yum install blas-devel.x86_64
yum install lapack-devel.x86_64
yum install freetype-devel.x86_64
yum install libpng-devel.x86_64
yum install sqlite-devel.x86_64
yum install gtk+extra-devel.i686
yum install tk-devel.x86_64
yum install PyQt4-devel.x86_64
yum install pygtk2-devel.x86_64
build zlib (www.zlib.net)
###########################
build python 2.7.6:
###########################################################
./configure --enable-shared --prefix=/home/vstevano/local/
make
make install
Write in the ~/.bashrc:
#######################
export PATH=/home/vstevano/local/bin:$PATH
export LD_LIBRARY_PATH=/home/vstevano/local/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/home/vstevano/local:$PYTHONPATH
build setup tools wget:
##########################
wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py -O - | python
easy_install numpy
easy_install scipy
easy_install readline
easy-install pysqlite
easy-install ipython
easy-install matplotlib
#################### DONE WITH PYTHON ####################
################### NOW PYLADA ##########################
setting up git
#########################
1) create an account on github.org
2) generate the SSH key
- goto sttings
- Add SSH key
- click "generating SSH keys" link and follow the instructions
3) set up git on your computer
>git config --global user.name "vstevano"
>git config --global user.email "[email protected]"
pylada dependencies
#########################
download cmake 2.8 (http://www.cmake.org/cmake/resources/software.html)
##########
./bootstrap --prefix=local_folder
make
make install
install boost headers
#########
yum install boost-devel.x86_64
install eigen3 (http://eigen.tuxfamily.org/index.php?title=Main_Page)
#########
read the INSTALL file (cmake -DCMAKE_INSTALL_PREFIX=/home/vstevano/local/ ../)
install python quantities
########
easy_install quantities
pylada
#########
>git clone https://github.com/pylada/pylada-light
>cd pylada-light
>mkdir build
>cd build
>cmake -DCMAKE_INSTALL_PREFIX=/home/vstevano/local/ ../
>make
>make install
DONE!!!!