python-hard-way/install-python.txt

13 lines
362 B
Plaintext
Raw Normal View History

2018-09-24 23:45:56 +00:00
Download the source for Python 3.6.6: https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz
Then go into the directory where you downloaded python, extract it.
Then open a terminal in that folder.
Run:
./configure --enable-optimizations --prefix=/opt/phw/
to install Python with stable optimizations (good performance, stable) in the directory /opt/phw