installation.sh
1.19 KB
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
#wersja instalacji dla lokalnego pythona
#subversion
wget http://subversion.tigris.org/downloads/subversion-1.6.15.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.15.tar.gz
tar -xzf subversion-1.6.15.tar.gz
tar -xzf subversion-deps-1.6.15.tar.gz
cd subversion-1.6.15
./configure --prefix=$HOME/subversion --without-apxs --without-berkeley-db --with-ssl LDFLAGS="-L/lib64"
make
make install
#python
wget -c http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
tar -jxvf Python-2.7.2.tar.bz2
cd Python-2.7.2
./configure --prefix=$HOME/.local
make
make install
echo 'PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc
source ~/.bashrc
#setuptools ???????????????????
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e
tar -xzf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
$HOME/.local/bin/python2.7 setup.py install
#pysvn
wget http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.5.tar.gz
tar -xzf pysvn-1.7.5.tar.gz
cd pysvn-1.7.5
cd Source
$HOME/.local/bin/python2.7 setup.py configure --svn-inc-dir=$HOME/subversion/include/subversion-1/ --svn-lib-dir=$HOME/subversion/lib/
cd ..
$HOME/.local/bin/python2.7 setup.py install