$ sudo wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
$ tar zxvf Python-2.7.9.tgz
$ cd Python-2.7.9/
$ ./configure --with-threads --enable-shared
$ make
$ sudo make install
### 確認
$ python -V
### 下記エラーが出るかもしれない。
# python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
# リンクを貼る
$ sudo ln -s /usr/local/lib/libpython2.7.so.1.0 /lib64/
# 再度確認
$ python -V
Python 2.7.9
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
2
Go to list of users who liked
3