install python3.6

python 3.6 인스톨

1. 환경준비
    Centos 7.x

2. install repository
[root@localhost ~]# yum install https://centos7.iuscommunity.org/ius-release.rpm

Loaded plugins: fastestmirror, langpacks

ius-release.rpm                                                                        | 8.2 kB  00:00:00

==============================================================================================================
 Package                   Arch                 Version                      Repository                  Size
==============================================================================================================
Installing:
 ius-release               noarch               2-1.el7.ius                  /ius-release               4.5 k

Transaction Summary
==============================================================================================================

3.install python3.6
[root@localhost ~]# yum install python36u
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package python36u.x86_64 0:3.6.8-1.el7.ius will be installed
--> Processing Dependency: python36u-libs(x86-64) = 3.6.8-1.el7.ius for package: python36u-3.6.8-1.el7.ius.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python36u-3.6.8-1.el7.ius.x86_64
--> Running transaction check
---> Package python36u-libs.x86_64 0:3.6.8-1.el7.ius will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                       Arch                  Version                         Repository          Size
==============================================================================================================
Installing:
 python36u                     x86_64                3.6.8-1.el7.ius                 ius                 58 k
Installing for dependencies:
 python36u-libs                x86_64                3.6.8-1.el7.ius                 ius                8.9 M

Transaction Summary
==============================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 8.9 M
Installed size: 40 M
Is this ok [y/d/N]: y
Downloading packages:
경고: /var/cache/yum/x86_64/7/ius/packages/python36u-3.6.8-1.el7.ius.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 4b274df2: NOKEY
Public key for python36u-3.6.8-1.el7.ius.x86_64.rpm is not installed
(1/2): python36u-3.6.8-1.el7.ius.x86_64.rpm                                            |  58 kB  00:00:00
(2/2): python36u-libs-3.6.8-1.el7.ius.x86_64.rpm                                       | 8.9 MB  00:00:01
--------------------------------------------------------------------------------------------------------------
Total                                                                         7.8 MB/s | 8.9 MB  00:00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
Importing GPG key 0x4B274DF2:
 Userid     : "IUS (7) <dev@ius.io>"
 Fingerprint: c958 7a09 a11f d706 4f0c a0f4 e558 0725 4b27 4df2
 Package    : ius-release-2-1.el7.ius.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python36u-libs-3.6.8-1.el7.ius.x86_64                                                      1/2
  Installing : python36u-3.6.8-1.el7.ius.x86_64                                                           2/2
  Verifying  : python36u-3.6.8-1.el7.ius.x86_64                                                           1/2
  Verifying  : python36u-libs-3.6.8-1.el7.ius.x86_64                                                      2/2

Installed:
  python36u.x86_64 0:3.6.8-1.el7.ius

Dependency Installed:
  python36u-libs.x86_64 0:3.6.8-1.el7.ius

Complete!
[root@localhost ~]#

4. install pip
[root@localhost installer]# yum install python-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: mirrors.aliyun.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package python2-pip.noarch 0:8.1.2-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================
 Package                         Arch                       Version                         Repository                Size
===========================================================================================================================
Installing:
 python2-pip                     noarch                     8.1.2-8.el7                     epel                     1.7 M

Transaction Summary
===========================================================================================================================
Install  1 Package

Total download size: 1.7 M
Installed size: 7.2 M
Is this ok [y/d/N]: y
Downloading packages:
python2-pip-8.1.2-8.el7.noarch.rpm                                                                  | 1.7 MB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-pip-8.1.2-8.el7.noarch                                                                          1/1
  Verifying  : python2-pip-8.1.2-8.el7.noarch                                                                          1/1

Installed:
  python2-pip.noarch 0:8.1.2-8.el7

Complete!
[root@localhost installer]#





댓글

이 블로그의 인기 게시물

error You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

linux mint install xrdp

centos 6.x yum update problem making ssl connection