Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 9c9ff8c

Browse files
committed
Added prebuild for el6 with python 2.7
installing.
1 parent d54a2e8 commit 9c9ff8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rpm/prebuild-el-6.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
set -exu # Strict shell (w/o -o pipefail)
4+
sudo yum install -y openssl-devel
5+
cd ..
6+
sudo wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
7+
sudo tar -zxf Python-2.7.6.tgz
8+
cd Python-2.7.6
9+
sudo ./configure --prefix=/usr/local 2>&1 >/dev/null
10+
sudo make 2>&1 >/dev/null
11+
sudo make install 2>&1 >/dev/null

0 commit comments

Comments
 (0)