adapting jenkinsfile
parent
29be342bde
commit
76192fe100
|
|
@ -4,20 +4,22 @@
|
||||||
|
|
||||||
sudo zipper refresh
|
sudo zipper refresh
|
||||||
sudo zipper update -y
|
sudo zipper update -y
|
||||||
sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc make
|
sudo zipper install -y python38
|
||||||
cd /tmp
|
#sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc make
|
||||||
wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tgz
|
#cd /tmp
|
||||||
tar -xvf Python-3.8.7.tgz
|
#wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tgz
|
||||||
cd Python-3.8.7/
|
#tar -xvf Python-3.8.7.tgz
|
||||||
|
#cd Python-3.8.7/
|
||||||
|
|
||||||
./configure
|
#./configure
|
||||||
make
|
#make
|
||||||
make install
|
#make install
|
||||||
|
|
||||||
echo ‘export PATH=”$PATH/root/Python-3.8.7/”’>> ~/.bashrc
|
#echo ‘export PATH=”$PATH/root/Python-3.8.7/”’>> ~/.bashrc
|
||||||
source ~/.bashrc
|
#source ~/.bashrc
|
||||||
|
|
||||||
python3 --version
|
python3 --version
|
||||||
|
python38 --version
|
||||||
# Step 3. Install the desired Python version
|
# Step 3. Install the desired Python version
|
||||||
|
|
||||||
#pyenv install 3.7.4
|
#pyenv install 3.7.4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue