Skip to content

Instantly share code, notes, and snippets.

@sharondevop
Forked from nico4/puias.rst
Created June 20, 2017 20:54
Show Gist options
  • Save sharondevop/03ba31e9ca6e57056b9119bd829fcd2a to your computer and use it in GitHub Desktop.
Save sharondevop/03ba31e9ca6e57056b9119bd829fcd2a to your computer and use it in GitHub Desktop.
Install python2.7 on Centos 6 using PUIAS repository
$ yum install openssl-devel vim
$ 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

$ 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