Sample Header Ad - 728x90

Install additional Python on OpenSUSE (without breaking existing Pythons)

2 votes
1 answer
5407 views
## Situation Our company has an internal Server * OpenSUSE Leap 15.5 * Python 3.6(.15) * Python 2.7(.18) see details for more information ## Task As Python 3.6 is already EOL we want to **install a newer Python** (3.10 or 3.11).
In order to **not break anything** I would like to 1. install the new python in parallel 1. install it additionally (not replacing or breaking any of the existing installations or aliasses) 1. have it available from anywhere (scripts) As this Server is vital to our development process, I would like to go for the lowest risk possible. ## Questions 1. How risky is installing another python with regards to system stability, the other python installations and the "python" binary/symlink? 1. How should I install python in a lowest-risk-manner? ## Details > ***:~> cat /etc/os-release > NAME="openSUSE Leap" > VERSION="15.5" > ID="opensuse-leap" > ID_LIKE="suse opensuse" > VERSION_ID="15.5" > PRETTY_NAME="openSUSE Leap 15.5" > ANSI_COLOR="0;32" > CPE_NAME="cpe:/o:opensuse:leap:15.5" > BUG_REPORT_URL="https://bugs.opensuse.org " > HOME_URL="https://www.opensuse.org/ " > DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap " > LOGO="distributor-logo-Leap" > > > ***:~> zypper info python > ... > Repository : Update repository with updates from SUSE Linux Enterprise 15 > Name : python > Version : 2.7.18-150000.51.1 > Arch : x86_64 > Vendor : SUSE LLC > Installed Size : 1.4 MiB > Installed : Yes (automatically) > Status : up-to-date > Source package : python-2.7.18-150000.51.1.src > Upstream URL : https://www.python.org/ > Summary : Python Interpreter > ... > > ***:~> zypper info python3 > ... > Repository : Update repository with updates from SUSE Linux Enterprise 15 > Name : python3 > Version : 3.6.15-150300.10.48.1 > Arch : x86_64 > Vendor : SUSE LLC > Installed Size : 141.3 KiB > Installed : Yes (automatically) > Status : up-to-date > Source package : python3-3.6.15-150300.10.48.1.src > Upstream URL : https://www.python.org/ > Summary : Python 3 Interpreter > ....
Asked by hardmooth (121 rep)
Sep 20, 2023, 08:47 AM
Last activity: Dec 16, 2024, 11:07 PM