LoginSignup
4
4

More than 5 years have passed since last update.

CentOS 6.x x86_64 Python-2.7.4 rpmパッケージ作成

Last updated at Posted at 2013-05-03

head -n1 /etc/issue

CentOS release 6.4 (Final)

yum install wget zlib-devel
cd /usr/local/src/
wget http://www.python.org/ftp/python/2.7.4/Python-2.7.4.gz
tar zxvf Python-2.7.4.tgz
cd Python-2.7.4
./configure
make
checkinstall -R --fstrans=no --backup=yes --install=no make install
rpm -ivh /root/rpmbuild/RPMS/x86_64/python27-2.7.4-1.x86_64.rpm
rpm -qi python27

Name        : python27                     Relocations: (not relocatable)
Version     : 2.7.4                        Vendor: (none)
Release     : 1                            Build Date: 2013年05月03日 22時28分01秒
Install Date: 2013年05月03日 22時30分16秒  Build Host: localhost
Group       : Applications/System          Source RPM: python27-2.7.4-1.src.rpm
Size        : 92263133                     License: GPL
Signature   : (none)
Packager    : checkinstall-1.6.3
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4