[LINUX] Easy way to use Python 2.7 on Cent OS 6


You can use relatively new software by using Software Collections. For example, if you want to use Python 2.7 on Cent OS 6, do the following.

sudo yum install centos-release-scl-rh
sudo yum install python27


Software Collections are not available just by installing them. To actually use it, execute the following command.

scl enable python27 bash

This will launch a new bash and you will be able to use Python 2.7.8. If you want to keep it available at all times, you should write source /opt/rh/python27/enable in .bashrc.

Recommended Posts

Easy way to use Python 2.7 on Cent OS 6
Easy way to use Wikipedia in Python
Easy way to customize Python import
Easy to use Jupyter notebook (Python3.5)
Memorandum on how to use gremlin python
Install python on xserver to use pip
How to use Python Kivy ④ ~ Execution on Android ~
Easy to use Flask
The easiest way to use OpenCV with python
Easy way to load CPU / memory on Linux
Introduction to Python with Atom (on the way)
Easy to use SQLite3
An easy way to call Java from Python
Easy way to check the source of Python modules
Preparing to use aws cli on Mac OS X
Very easy to install SciPy on Mac OS X
Easy way to scrape with python using Google Colab
How to use Django on Google App Engine / Python
Use matplotlib on Ubuntu 12 & Python
python3: How to use bottle (2)
Install tomcat 9 on Cent OS 8
[Python] How to use list 1
How to use Python argparse
Update python on Mac to 3.7-> 3.8
Python: How to use pydub
[Python] How to use checkio
[Python] Another way to import
Easy way to rename files
Use Python on Windows (PyCharm)
Easy to use E-Cell 4 Intermediate
[Python] How to use input ()
How to use Python lambda
[Python] How to use virtualenv
python3: How to use bottle (3)
python3: How to use bottle
How to use Python bytes
An easy way to pad the number with zeros depending on the number of digits [Python]
Steps to use the AWS command line interface (Python / awscli) on Mac OS X
Easy to use Nifty Cloud API with botocore and python
[Hyperledger Iroha] Notes on how to use the Python SDK
How to integrate Apache httpd 2.4 and Tomcat 9 on Cent OS 8
Install pyenv on MacBook Air and switch python to use
[Python] An easy way to visualize energy data interactively [plotly.express]
A relatively easy way to insert a NEologd dictionary on Windows-System Dictionary
PyArmor ~ Easy way to encrypt and deliver python source code ~
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Python: How to use async with
Python 3.6 on Windows ... and to Xamarin.
Install Adopt OpenJDK 11 on Cent OS 8
[Python] How to use Pandas Series
How to use Dataiku on Windows
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Introduction to Python Hands On Part 1
How to use Requests (Python Library)
How to use SQLite in Python
Notes on how to use pywinauto
Notes on how to use featuretools
How to use homebrew on Debian
[Introduction to Python] Let's use pandas
[Python] How to use list 3 Added
How to use Mysql in python