Update SLES 12 installation for Science repository removal

The Science repo no longer supports SLES 12. Switch to using the
Python backports repository on SLES 12 for openblas-devel.
This commit is contained in:
Greg Lin 2020-04-22 17:53:27 -05:00
commit 7d2f5ee7cc

View file

@ -107,10 +107,11 @@ sudo yum install R-${R_VERSION}-1-1.x86_64.rpm
#### SUSE Linux
Enable the [Science](https://en.opensuse.org/openSUSE:Science_Repositories) repository (SLES 12 only):
Enable the Python backports repository (SLES 12 only):
```bash
# SLES 12
sudo zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/science/SLE_12/science.repo
VERSION="SLE_$(grep "^VERSION=" /etc/os-release | sed -e 's/VERSION=//' -e 's/"//g' -e 's/-/_/')"
sudo zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/backports/$VERSION/devel:languages:python:backports.repo
```
Download the rpm package: