Skip to content

Commit 21c42fd

Browse files
committed
Merge pull request #167 from cdayjr/master
CentOS Install - PUIAS repo
2 parents b0c3231 + 7a1f1fc commit 21c42fd

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

install/centos/README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,27 @@ a custom Red Hat® distribution maintained by [Princeton University][PU] and
9393
[Institute for Advanced Study][IAS]. We take advantage of the PUIAS
9494
Computational repository to obtain a git v1.8.x package since the base CentOS
9595
repositories only provide v1.7.1 which is not compatible with GitLab.
96+
Although the PUIAS offers an RPM to install the repo, it requires the
97+
other PUIAS repos as a dependency, so you'll have to add it manually.
9698

97-
Install the PUIAS Computational repository rpm
99+
Create /etc/yum.repos.d/PUIAS_6_computational.repo and add the following lines:
98100

99-
sudo rpm -Uvh http://puias.math.ias.edu/data/puias/6/x86_64/os/Packages/springdale-computational-6-2.sdl6.10.noarch.rpmo
101+
[PUIAS_6_computational]
102+
name=PUIAS computational Base $releasever - $basearch
103+
mirrorlist=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist
104+
#baseurl=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch
105+
gpgcheck=1
106+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias
107+
108+
Next download and install the gpg key.
109+
110+
sudo wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias
111+
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias
112+
113+
Verify that the key got installed successfully:
114+
115+
sudo rpm -qa gpg*
116+
gpg-pubkey-41a40948-4ce19266
100117

101118
Verify that the EPEL and PUIAS Computational repositories are enabled as shown below:
102119

0 commit comments

Comments
 (0)