Skip to content

Instantly share code, notes, and snippets.

@nico4
Last active November 17, 2020 00:19
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save nico4/9616638 to your computer and use it in GitHub Desktop.
Save nico4/9616638 to your computer and use it in GitHub Desktop.
Install python2.7 on Centos 6 using PUIAS repository

Install Python2.7 on Centos with PUIAS

Create puias-computational.repo file: :

$ vim /etc/yum.repos.d/puias-computational.repo

Paste the following code into the above file: :

[PUIAS_6_computational]
name=PUIAS computational Base $releasever - $basearch
mirrorlist=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias

Download and import the Repo GPG key: :

$ cd /etc/pki/rpm-gpg/
$ wget -q http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias
$ rpm --import RPM-GPG-KEY-puias

Install Python: :: $ yum install python27 python27-devel python27-libs python27-setuptools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment