centos7 安装python3.12.5

目录

1、安装openssl

1.1安装之前需要把本地openssl版本更新

1.2配置并编译安装

1.3安装后把本地的openssl备份一下

1.4添加环境变量

1.5刷新文件&&查看openssl版本

1.6配置新版的软连接

1.7 更新共享库的链接器缓存

2、安装Python3.12.5

2.1python3.12.5安装

2.2配置&&编译并安装

2.3配置环境变量

2.4测试python3 

 centos7安装python3.12.5,0报错安装 你们可能会有一些软件包依赖问题,可自行下载相关依赖包


1、安装openssl

1.1安装之前需要把本地openssl版本更新

openssl 下载地址

[root@ces-235 openssl-1.1.1w]# openssl version
OpenSSL 1.0.2k-fips  26 Jan 2017


[root@ces-235 ope]#  tar -xvf openssl-1.1.1w.tar.gz -C /usr/local/

[root@ces-235 ope]#  cd /usr/local/openssl-1.1.1w/

1.2配置并编译安装

[root@ces-235 openssl-1.1.1w]# ./config --prefix=/usr/local/openssl shared
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1w (0x1010117fL) for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************
[root@ces-235 openssl-1.1.1w]#  make 
 [root@ces-235 openssl-1.1.1w]# make install

1.3安装后把本地的openssl备份一下

[root@ces-235 openssl-1.1.1w]# mv /

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值