Last active
May 18, 2020 20:01
-
-
Save dcode/f6a5c9cd48ce68e0c355 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 |
Thanks a lot
It has worked wonderfully thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks,