-
-
Save AlexxNica/682f0a92ae535f1dab2844485dfda2bb to your computer and use it in GitHub Desktop.
Enable the OL7 Add-ons repo. Includes virtualbox, docker, R, and others.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << EOF | sudo tee /etc/yum.repos.d/ol7_addons.repo | |
[ol7_addons] | |
name=Oracle Linux $releasever Add ons (\$basearch) | |
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL7/addons/\$basearch/ | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle | |
gpgcheck=1 | |
enabled=1 | |
EOF | |
# Verify this manually if you're paranoid like me | |
sudo rpm --import http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 | |
sudo yum makecache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment