Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@witchcraze

CentOS7.7にPython3をインストール(OS標準)

More than 1 year has passed since last update.

はじめに

CentOS7.7にPython3をインストール

Python 3 is now available. Installing the python3 package gives you the Python 3.6 interpreter.

引用元 : Manuals/ReleaseNotes/CentOS7.1908 - CentOS Wiki

LOG

インストール

# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

# yum install -y python3 which
... 略

各種確認

# which python3
/usr/bin/python3

# ll /usr/bin/python*
lrwxrwxrwx. 1 root root     7 Oct 21 13:53 /usr/bin/python -> python2
lrwxrwxrwx. 1 root root     9 Oct 21 13:53 /usr/bin/python2 -> python2.7
-rwxr-xr-x. 1 root root  7216 Aug  7 00:52 /usr/bin/python2.7
lrwxrwxrwx. 1 root root     9 Oct 21 13:55 /usr/bin/python3 -> python3.6
-rwxr-xr-x. 2 root root 11408 Aug  7 17:29 /usr/bin/python3.6
-rwxr-xr-x. 2 root root 11408 Aug  7 17:29 /usr/bin/python3.6m

# python3 -V
Python 3.6.8

# yum info python3
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Installed Packages
Name        : python3
Arch        : x86_64
Version     : 3.6.8
Release     : 10.el7
Size        : 39 k
Repo        : installed
From repo   : base
Summary     : Interpreter of the Python programming language
URL         : https://www.python.org/
License     : Python
Description : Python is an accessible, high-level, dynamically typed, interpreted programming
            : language, designed with an emphasis on code readability.
            : It includes an extensive standard library, and has a vast ecosystem of
            : third-party libraries.
            :
            : The python3 package provides the "python3" executable: the reference
            : interpreter for the Python language, version 3.
            : The majority of its standard library is provided in the python3-libs package,
            : which should be installed automatically along with python3.
            : The remaining parts of the Python standard library are broken out into the
            : python3-tkinter and python3-test packages, which may need to be installed
            : separately.
            :
            : Documentation for Python is provided in the python3-docs package.
            :
            : Packages containing additional libraries for Python are generally named with
            : the "python3-" prefix.

Available Packages
Name        : python3
Arch        : i686
Version     : 3.6.8
Release     : 10.el7
Size        : 69 k
Repo        : base/7/x86_64
Summary     : Interpreter of the Python programming language
URL         : https://www.python.org/
License     : Python
Description : Python is an accessible, high-level, dynamically typed, interpreted programming
            : language, designed with an emphasis on code readability.
            : It includes an extensive standard library, and has a vast ecosystem of
            : third-party libraries.
            :
            : The python3 package provides the "python3" executable: the reference
            : interpreter for the Python language, version 3.
            : The majority of its standard library is provided in the python3-libs package,
            : which should be installed automatically along with python3.
            : The remaining parts of the Python standard library are broken out into the
            : python3-tkinter and python3-test packages, which may need to be installed
            : separately.
            :
            : Documentation for Python is provided in the python3-docs package.
            :
            : Packages containing additional libraries for Python are generally named with
            : the "python3-" prefix.

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
witchcraze
個人用wiki代わりのメモを淡々と...

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?