Centos7 离线安装python 3.6.8

Centos7 离线安装python 3.6.8

1. 下载压缩包

链接: https://download.csdn.net/download/weixin_43897842/74910341

2. 上传并解压压缩包

[root@localhost tmp]# tar xzvf python3_6_8.tar.gz 
python3.6.8/
python3.6.8/bzip2-libs-1.0.6-13.el7.i686.rpm
python3.6.8/e2fsprogs-1.42.9-19.el7.x86_64.rpm
python3.6.8/e2fsprogs-libs-1.42.9-19.el7.x86_64.rpm
python3.6.8/expat-2.1.0-12.el7.i686.rpm
python3.6.8/expat-2.1.0-12.el7.x86_64.rpm
python3.6.8/gdbm-1.10-8.el7.i686.rpm
python3.6.8/glibc-2.17-325.el7_9.i686.rpm
python3.6.8/glibc-2.17-325.el7_9.x86_64.rpm
python3.6.8/glibc-common-2.17-325.el7_9.x86_64.rpm
python3.6.8/glibc-devel-2.17-325.el7_9.x86_64.rpm
python3.6.8/glibc-headers-2.17-325.el7_9.x86_64.rpm
python3.6.8/keyutils-libs-1.5.8-3.el7.i686.rpm
python3.6.8/krb5-libs-1.15.1-51.el7_9.i686.rpm
python3.6.8/krb5-libs-1.15.1-51.el7_9.x86_64.rpm
python3.6.8/krb5-workstation-1.15.1-51.el7_9.x86_64.rpm
python3.6.8/libcom_err-1.42.9-19.el7.i686.rpm
python3.6.8/libcom_err-1.42.9-19.el7.x86_64.rpm
python3.6.8/libffi-3.0.13-19.el7.i686.rpm
python3.6.8/libgcc-4.8.5-44.el7.i686.rpm
python3.6.8/libgcc-4.8.5-44.el7.x86_64.rpm
python3.6.8/libkadm5-1.15.1-51.el7_9.x86_64.rpm
python3.6.8/libselinux-2.5-15.el7.i686.rpm
python3.6.8/libsepol-2.5-10.el7.i686.rpm
python3.6.8/libss-1.42.9-19.el7.x86_64.rpm
python3.6.8/libstdc++-4.8.5-44.el7.i686.rpm
python3.6.8/libstdc++-4.8.5-44.el7.x86_64.rpm
python3.6.8/libtirpc-0.2.4-0.16.el7.i686.rpm
python3.6.8/libverto-0.2.5-4.el7.i686.rpm
python3.6.8/ncurses-libs-5.9-14.20130511.el7_4.i686.rpm
python3.6.8/nspr-4.32.0-1.el7_9.x86_64.rpm
python3.6.8/nss-softokn-freebl-3.67.0-3.el7_9.i686.rpm
python3.6.8/nss-softokn-freebl-3.67.0-3.el7_9.x86_64.rpm
python3.6.8/nss-util-3.67.0-1.el7_9.x86_64.rpm
python3.6.8/openssl-1.0.2k-22.el7_9.x86_64.rpm
python3.6.8/openssl-libs-1.0.2k-22.el7_9.i686.rpm
python3.6.8/openssl-libs-1.0.2k-22.el7_9.x86_64.rpm
python3.6.8/pcre-8.32-17.el7.i686.rpm
python3.6.8/python3-3.6.8-18.el7.i686.rpm
python3.6.8/python3-3.6.8-18.el7.x86_64.rpm
python3.6.8/python3-libs-3.6.8-18.el7.i686.rpm
python3.6.8/python3-libs-3.6.8-18.el7.x86_64.rpm
python3.6.8/python3-pip-9.0.3-8.el7.noarch.rpm
python3.6.8/python3-setuptools-39.2.0-10.el7.noarch.rpm
python3.6.8/readline-6.2-11.el7.i686.rpm
python3.6.8/sqlite-3.7.17-8.el7_7.1.i686.rpm
python3.6.8/xz-libs-5.2.2-1.el7.i686.rpm
python3.6.8/zlib-1.2.7-19.el7_9.i686.rpm
python3.6.8/zlib-1.2.7-19.el7_9.x86_64.rpm
[root@localhost tmp]# 

3. rpm安装

[root@localhost python3.6.8]#
[root@localhost python3.6.8]# ls
bzip2-libs-1.0.6-13.el7.i686.rpm             libcom_err-1.42.9-19.el7.x86_64.rpm           nss-util-3.67.0-1.el7_9.x86_64.rpm
e2fsprogs-1.42.9-19.el7.x86_64.rpm           libffi-3.0.13-19.el7.i686.rpm                 openssl-1.0.2k-22.el7_9.x86_64.rpm
e2fsprogs-libs-1.42.9-19.el7.x86_64.rpm      libgcc-4.8.5-44.el7.i686.rpm                  openssl-libs-1.0.2k-22.el7_9.i686.rpm
expat-2.1.0-12.el7.i686.rpm                  libgcc-4.8.5-44.el7.x86_64.rpm                openssl-libs-1.0.2k-22.el7_9.x86_64.rpm
expat-2.1.0-12.el7.x86_64.rpm                libkadm5-1.15.1-51.el7_9.x86_64.rpm           pcre-8.32-17.el7.i686.rpm
gdbm-1.10-8.el7.i686.rpm                     libselinux-2.5-15.el7.i686.rpm                python3-3.6.8-18.el7.i686.rpm
glibc-2.17-325.el7_9.i686.rpm                libsepol-2.5-10.el7.i686.rpm                  python3-3.6.8-18.el7.x86_64.rpm
glibc-2.17-325.el7_9.x86_64.rpm              libss-1.42.9-19.el7.x86_64.rpm                python3-libs-3.6.8-18.el7.i686.rpm
glibc-common-2.17-325.el7_9.x86_64.rpm       libstdc++-4.8.5-44.el7.i686.rpm               python3-libs-3.6.8-18.el7.x86_64.rpm
glibc-devel-2.17-325.el7_9.x86_64.rpm        libstdc++-4.8.5-44.el7.x86_64.rpm             python3-pip-9.0.3-8.el7.noarch.rpm
glibc-headers-2.17-325.el7_9.x86_64.rpm      libtirpc-0.2.4-0.16.el7.i686.rpm              python3-setuptools-39.2.0-10.el7.noarch.rpm
keyutils-libs-1.5.8-3.el7.i686.rpm           libverto-0.2.5-4.el7.i686.rpm                 readline-6.2-11.el7.i686.rpm
krb5-libs-1.15.1-51.el7_9.i686.rpm           ncurses-libs-5.9-14.20130511.el7_4.i686.rpm   sqlite-3.7.17-8.el7_7.1.i686.rpm
krb5-libs-1.15.1-51.el7_9.x86_64.rpm         nspr-4.32.0-1.el7_9.x86_64.rpm                xz-libs-5.2.2-1.el7.i686.rpm
krb5

你可能感兴趣的:(python,centos,linux,rpm)