Quick Answer: How to Install Python 2.7 on Ubuntu?
Contents Under a Even Worst Case Scenario If You Don’t Have Python 2 Installed Then, You Can Install It by Typing the Following into the Terminal: Sudo...
Contents
Under a even worst case scenario if you don’t have Python 2 installed then, you can install it by typing the following into the terminal :
- sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7.
- sudo apt-get update.
- sudo apt-get install python2.7.
How do I install Python 2.7 on Linux?
Install Python 2.7.10 on CentOS/RHEL
- Step 1: Install GCC. Firstly make sure that you have gcc package installed on your system.
- Step 2: Download Python 2.7. Download Python using following command from python official site.
- Step 3: Extract Archive and Compile.
- Step 4: Check the Python Version.
Must Read
How do I install Python on Ubuntu 14?
Install Python 3.6 on Ubuntu 14.04 and 16.04 LTS
- $ sudo apt-get update.
- $ sudo apt-get update.
- $ apt-cache search python3.6.
- $ sudo add-apt-repository ppa:jonathonf/python-3.6.
- $ wget
- $ sudo make -j8.
- [email protected]:~$ python3.6.
- $ sudo pip3 install virtualenv.