Skip to content

Instantly share code, notes, and snippets.

@dcode
Last active May 18, 2020 20:01
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dcode/f6a5c9cd48ce68e0c355 to your computer and use it in GitHub Desktop.
Save dcode/f6a5c9cd48ce68e0c355 to your computer and use it in GitHub Desktop.
Enable the OL7 Add-ons repo. Includes virtualbox, docker, R, and others.
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
@devcpu
Copy link

devcpu commented Jun 30, 2017

thanks,

@Choxmi
Copy link

Choxmi commented Sep 12, 2017

Thanks a lot

@Cesar-Tepetla-Corte
Copy link

It has worked wonderfully thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment