简体   繁体   English

如何为Linux(基本OS)安装Python(x,y)?

[英]How do I install Python(x,y) for linux (Elementary OS)?

I'm kinda noob in Linux, and in my class they asked us to install Python(x,y) but I've just recently moved from Windows to Linux. 我是Linux的新手,在我的课堂上,他们要求我们安装Python(x,y)但我最近才从Windows迁移到Linux。 So I read this webpage and followed the steps: https://launchpad.net/~pythonxy/+archive/ubuntu/pythonxy-stable 因此,我阅读了此网页并按照以下步骤操作: https : //launchpad.net/~pythonxy/+archive/ubuntu/pythonxy-stable

But then I saw many tutorials on how to install Linux packages and they told that to install a Linux package (ppa) after adding the package to my system and updating it I had to use the next command line: 但是后来我看到了许多有关如何安装Linux软件包的教程,他们告诉我在将软件包添加到系统并更新它之后安装Linux软件包(ppa),我必须使用下一个命令行:

sudo apt install "name of package"

The problem is that I don't know the name of the package for Python(x,y) and I can't find it any where. 问题是我不知道Python(x,y)的软件包名称,而且在任何地方都找不到。 Does someone knows the name of the package or knows an alternative way to install it. 有人知道软件包的名称还是知道另一种安装方法。 I'm using Elementary OS. 我正在使用基本操作系统。

如果要通过PPA进行操作,请使用sudo apt install python-xy-meta-current

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM