2020-09-13 19:47:17 +01:00
|
|
|
#!/bin/bash -xe
|
2020-11-04 13:02:29 +00:00
|
|
|
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
|
|
|
|
|
2020-11-15 14:49:02 +00:00
|
|
|
VERSION=3.9.0
|
2020-09-13 19:47:17 +01:00
|
|
|
|
|
|
|
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz
|
|
|
|
tar xvzf Python-$VERSION.tgz
|
|
|
|
cd Python-$VERSION/
|
|
|
|
|
|
|
|
./configure --prefix=$HOME/_work/_tool/Python/$VERSION/x64/ --enable-optimizations --with-ensurepip=install
|
|
|
|
make -j 8
|
|
|
|
sudo make altinstall
|
|
|
|
touch $HOME/_work/_tool/Python/$VERSION/x64.complete
|
|
|
|
|
2020-11-15 14:49:02 +00:00
|
|
|
ln -s $HOME/_work/_tool/Python/3.9.5/x64 $HOME/_work/_tool/Python/3/x64
|
|
|
|
ln -s $HOME/_work/_tool/Python/3.9.5/x64 $HOME/_work/_tool/Python/3.9/x64
|