Last active
October 17, 2018 09:43
-
-
Save Liyuu8/dfaca4f06d812f0b756d622190fa7f8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# バージョン確認 | |
$ python3.5 -V | |
Python 3.5.2 | |
# debパッケージをインストール | |
$ sudo apt -y install build-essential | |
$ sudo apt -y install python3-dev | |
$ sudo apt -y install libsqlite3-dev | |
$ sudo apt -y install libreadline6-dev | |
$ sudo apt -y install libgdbm-dev | |
$ sudo apt -y install zlib1g-dev | |
$ sudo apt -y install libbz2-dev | |
$ sudo apt -y install sqlite3 | |
$ sudo apt -y install tk-dev | |
$ sudo apt -y install zip | |
$ sudo apt -y install libssl-dev | |
# ソースファイルからビルドしてインストール | |
$ wget http://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz | |
$ tar xf Python-3.7.0.tgz | |
$ cd Python-3.7.0 | |
$ ./configure --prefix=/opt/python3.7.0 | |
$ make | |
$ sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment