Python 3.5 installation (yum) (CentOS 6.8)

Installation

python


[root@localhost ~]# yum -y install centos-release-scl-rh
[root@localhost ~]# yum -y install rh-python35

Operation check

python


[root@localhost ~]# python --version
Python 2.6.6
[root@localhost ~]# scl enable rh-python35 bash
[root@localhost ~]# python --version
Python 3.5.1
[root@localhost ~]# exit

Automatic enable setting

python


[root@localhost ~]# python --version
Python 2.6.6
[root@localhost ~]# echo 'source /opt/rh/rh-python35/enable' > /etc/profile.d/rh-python35.sh
[root@localhost ~]# source /etc/profile
[root@localhost ~]# python --version
Python 3.5.1

Recommended Posts

Python 2.7 installation (yum) (CentOS 6.8)
Python 3.5 installation (yum) (CentOS 6.8)
python (pyenv + pyenv-virtualenv) + CentOS7 installation
Python installation
Python installation
Installation of CentOS 8
Python2.7 + CentOS7 + OpenCV3
PHP installation (CentOS 8)
Python installation (Windows)
Python installation 2020 (macOS)
Python3.4 installation notes
CentOS8 --Install --Python3
CentOS 7 + ffmpeg installation
python openCV installation (memo)
Python basic course (2 Python installation)
Reinforcement learning 1 Python installation
Python installation method Windows
Install Python3.4 on CentOS 6.6
Installation of Python 3.3 rc1
Introducing Python 2.7 to CentOS 6.6
Install Python 2.7.3 on CentOS 5.4
Installation on CentOS8 VirtualBox
Installation of matplotlib (Python 3.3.2)
Python CMS Mezzanine installation procedure
CentOS 8 installation procedure (latest version)
Docker Easy Installation Procedure (CentOS)
Python 3.6 installation procedure [for Windows]
Install Python 3.8 on CentOS 7 (SCL)
Apache installation fails on CentOS 8.2
Python installation and basic grammar
OpenCV3 installation for Python3 @macOS
Python installation (Mac edition) (old)
Fastest Python installation on Windows
Install Python 3.7 and Django 3.0 (CentOS)
Python 3 series installation for mac
Switch from python2.7 to python3.6 (centos7)
Ruby, Python Module Installation Guide
Install Python 3.8 on CentOS 8 (AppStream)
Source installation and installation of Python
Python (Python 3.7.7) installation and basic grammar
Installation of SciPy and matplotlib (Python)
I tried to touch Python (installation)
Python
Disable python2.6 ssl3 protocol in centos6
Python memo Anaconda installation (Mac only)
Set up Python environment on CentOS
Create a python environment on centos
Installation of Python, SciPy, matplotlib (Windows)
PIL (Python Imaging Library) installation memorandum
Install Python on CentOS using Pyenv
Teamviewer for Linux installation procedure (CentOS)
Build a python3 environment on CentOS7
Install Python on CentOS using pyenv
CentOS 6.x x86_64 Python-2.7.4 rpm Package Creation
Installation of Visual studio code and installation of python
Oracle Database 18c installation (Linux CentOS 7 edition)
Python installation and package management with pip
A memo with Python2.7 and Python3 on CentOS
Connecting from python to MySQL on CentOS 6.4
CentOS 6.4 with Python 2.7.3 with Apache with mod_wsgi and Django
What is a dog? Python installation volume