英文:
Installing newer Python on SLES 12
问题
我正在尝试将Python从3.4.10更新到SLES 12 SP5系统上可用的3.6.x版本。3.6不再受支持,但对我们的需求足够;如果能在这个操作系统上运行的话,更新一些新版本也是可以的。非常感谢您的建议!
SLES 12 有哪些适用的zypper
仓库呢?主要的工厂仓库现在显示为http://download.opensuse.org/repositories/devel:/languages:/python:/Factory/15.4/,但似乎太新了。
除了使用zypper
上的新仓库之外,是否还有其他选项可用?(我只能通过SSH访问这台机器。而且,如果可能的话,我宁愿避免从源代码构建Python。)
https://stackoverflow.com/questions/18875165/installing-newest-python-on-opensus 看起来与我的问题相关,但没有回答我的问题,因为仓库已经改变或被移除了。
我尝试使用https://stackoverflow.com/questions/18875165/installing-newest-python-on-opensus 中显示的命令,但遇到了问题,因为所命名的仓库不再存在。
然后我四处搜寻,找到了http://download.opensuse.org/repositories/devel:/languages:/python:/Factory/15.4/。
但因为那个仓库似乎不相关,所以我停在那里了。
英文:
I'm trying to update Python from 3.4.10 to whatever 3.6.x version is available for a SLES 12 SP5 system. 3.6 is no longer supported but sufficient for our needs; something newer is fine if it works on this OS. Suggestions greatly appreciated!
Where are relevant zypper
repositories for SLES 12? The main factory now shown is http://download.opensuse.org/repositories/devel:/languages:/python:/Factory/15.4/ but that seems too new.
Is some option available other than using a newer repository with zypper
? (I only have SSH access to the machine. And, I'd prefer to avoid building Python from source if possible.)
https://stackoverflow.com/questions/18875165/installing-newest-python-on-opensus seems related but doesn't answer my question because the repositories have changed or been removed.
I attempted to use the commands shown in https://stackoverflow.com/questions/18875165/installing-newest-python-on-opensus but hit problems because the named repository no longer exists.
I then hunted around and found http://download.opensuse.org/repositories/devel:/languages:/python:/Factory/15.4/
Stopped there because that repository doesn't seem relevant.
答案1
得分: 1
SLE12-SP5 包含一个名为 python36
的软件包,其中包含版本 3.6.8
。后来更新到版本 3.6.15
。请参阅 zypper search --details --type package python36
的输出。
英文:
SLE12-SP5 includes a package named python36
, which contains version 3.6.8
. It was later updated to version 3.6.15
. See the output of zypper search --details --type package python36
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论