xz -d Python-3.5.6.tar.xz
tar xf Python-3.5.6.tar -C server/
cd server/Python-3.5.6/
./configure --prefix=/home/yx/server/Python
make -j 4
make install
sudo vim /etc/profile
Python_HOME=/home/yx/server/Python
PATH=$Python_HOME/bin/:$PATH
source /etc/profile
python3 -v
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x7f0eaec40128>
Python 3.5.6 (default, Dec 14 2018, 20:55:05)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
import 'atexit' # <class '_frozen_importlib.BuiltinImporter'>
>>>
ower~