How to Install Python 2.7 With Yum

Written by tara cantore
  • Share
  • Tweet
  • Share
  • Email

Yum is a command-line-based package-management system for Linux. The Python scripting language can be installed using Yum if your Linux system supports the command. Distributions such as CentOS, Red Hat and Yellowdog Linux support Yum as their package manager. Yum lets you request an exact product version on the command line.

Skill level:
Moderately Easy


  1. 1

    Log in to your Linux system and open a new terminal window. The terminal application is typically found in the Utilities menu of the desktop, but this differs between versions of the operating system.

  2. 2

    Type "su root" and press "Enter." Supply your root password when prompted.

  3. 3

    Type "yum update" and press "Enter" to update to the latest version of the package manager.

  4. 4

    Type "yum install python27" without quotation marks, then press "Enter." Python 2.7 will be downloaded and installed.

Don't Miss


  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.