Security Researcher, Entrepreneur, Senior Linux Admin

23 Şubat 2015 Pazartesi

Centos Python 3.4 Kurulumu


yum groupinstall "Development tools" -y
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y

wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz
tar xf Python-3.4.2.tgz
cd Python-3.4.2
./configure --prefix=/usr/local --enable-shared
make
make install

echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
ldconfig

Python versiyonumuzu kontrol edelim.
python3 --version
Python 3.4.2

0 yorum:

Yorum Gönder

Etiketler