Centos8 安装 python3方法

 时间:2024-10-14 11:35:31

1、操作系统版本为最新的CentOS Linux release 8.1.1911

Centos8 安装 python3方法

2、获取源码包,速度有点尴尬啊,才5.87KB/s

Centos8 安装 python3方法

3、xz -d Python-3.8.2.tar.xz解压成tar文件

Centos8 安装 python3方法

4、[root@localhost ~]# tar xf Python-3.8.2.tar-水瑞侮瑜bash: tar: command not foundcentos8最小化安装居然不带tar,和7完全不一样

Centos8 安装 python3方法

5、安装taryum install tar -y

Centos8 安装 python3方法

6、进入目录后进行编译,报错gcc未安装./configure --prefix=/usr/local/python3.8.2

Centos8 安装 python3方法

7、yum install gcc -y安装完gcc继续编译

Centos8 安装 python3方法

8、./configure --prefix=/usr/local/python3.8.2make && make install最小化安装连make拎枋辏话都没有,采用yum进行安装yum install make

Centos8 安装 python3方法

9、安装成功了

Centos8 安装 python3方法
  • ipconfig/all命令使用方法
  • 华为交换机恢复出厂设置
  • VLANIF是什么
  • 如何在 Windows 上配置 NTP 时钟同步
  • cmd查看端口命令
  • 热门搜索
    头发出油怎么办 比熊犬怎么训练 艾叶怎么治妇科病 波士顿大学怎么样 怎么添加共享打印机 b超单怎么看男女 草莓酱怎么吃 炒外汇怎么开户 风向标怎么看 永久山地车怎么样