例如Oracle Linux 5下安装virtualbox
1. root
# wget http://yum.oracle.com/public-yum-el5.repo
2. enable the el5_addons (OEL5)
3. set the proxy if need
vi /etc/yum.conf
proxy=http://www-proxy.us.oracle.com:80
4.yum install VirtualBox-5.0
参考:
http://public-yum.oracle.com/getting-started.html
https://www.virtualbox.org/wiki/Linux_Downloads