I wanted Python for the thing that Pidora was installed on Raspberry Pi, so I made it.
/ opt
.This is a bash script. Add other features as needed.
install_python
#!/usr/bin/env bash
VERSION=3.6.0
yum groupinstall "Development tools" -y
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel -y
cd /opt/
curl -O https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz
tar zxf Python-${VERSION}.tgz
cd Python-${VERSION}
./configure --prefix=/opt/local
make && make altinstall
http://qiita.com/a_yasui/items/5f453297855791ed648d
Recommended Posts