在Linux上有办法不编译进行安装Python3吗

97次阅读

共计 1222 个字符,预计需要花费 4 分钟才能阅读完成。

编译安装好 Tm 麻烦啊,而且费时间。用的 Debian 系统

感谢各位大佬回复,学习了。不一一回复了。

网友回复:

注册 dnf install python3.6 dnf install python3.8 dnf install python3.9 dnf install python3.10

呆呆的游客 apt install python3

Ticifer apt-get yum /** * 和平视窗计划只是个美丽的童话,竞赛代替不了战争,就像葡萄酒代替不了鲜血 */

可乐呀 新的应该有吧,直接源安装,apt-get,我的 2204 可以,Debian11 应该一样

虎谷 apt-get install python3.6 apt-get install python3.8 apt-get install python3.9 apt-get install python3.10 复制代码

hcyme apt install python3 复制代码

Ticifer apt install python3.10 Reading package lists… Done Building dependency tree… Done Reading state information… Done E: Unable to locate package python3.10 E: Couldn’t find any package by glob ‘python3.10’

flyqie 这种基础问题根本不需要问,看下官方文档、或者搜索一下就大把,你需要花点时间看下我签名 https://docs.python-guide.org/starting/install3/linux/

zxxx Ubuntu 上的,Debian 不知道能不能用呢?sudo apt update && sudo apt upgrade -y sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.10 python3.10 –version 复制代码

注册 docker

注册 apt update && apt install python3 上面答案都是瞎几把扯淡,拿 ubuntu centos 甚至是 ppa 就硬套

hchen 除非你一定要追最新版本,否则默认的就够用。如果要追新,可以加上测试版包 /etc/apt/sources.list    apt upgrade 就是了 deb http://http.us.debian.org/debian/ testing non-free contrib main 复制代码

imes 楼主要的是 portable python3 吧 github 有

比特鼻 楼主要的是 portable python3 吧 就一个 gz 包的

ecs 追加之后,可以直接安装了 apt install python3.10 复制代码

ecs 这和 ubuntu 使用 PPA 差不多的,nginx 也是一样

zxxx 6 的一批

正文完
 0