From 76192fe100623761513b60d685f1d33d5dd40d8a Mon Sep 17 00:00:00 2001 From: rforstner Date: Wed, 26 Jan 2022 18:07:40 +0100 Subject: [PATCH] adapting jenkinsfile --- updatepython.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/updatepython.sh b/updatepython.sh index 67d1a8c..1e7fc7c 100644 --- a/updatepython.sh +++ b/updatepython.sh @@ -4,20 +4,22 @@ sudo zipper refresh sudo zipper update -y -sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc make -cd /tmp -wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tgz -tar -xvf Python-3.8.7.tgz -cd Python-3.8.7/ +sudo zipper install -y python38 +#sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc make +#cd /tmp +#wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tgz +#tar -xvf Python-3.8.7.tgz +#cd Python-3.8.7/ -./configure -make -make install +#./configure +#make +#make install -echo ‘export PATH=”$PATH/root/Python-3.8.7/”’>> ~/.bashrc -source ~/.bashrc +#echo ‘export PATH=”$PATH/root/Python-3.8.7/”’>> ~/.bashrc +#source ~/.bashrc python3 --version +python38 --version # Step 3. Install the desired Python version #pyenv install 3.7.4