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 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

  1. Step 1: Install GCC. Firstly make sure that you have gcc package installed on your system.
  2. Step 2: Download Python 2.7. Download Python using following command from python official site.
  3. Step 3: Extract Archive and Compile.
  4. Step 4: Check the Python Version.

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.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest