How to install the Latest virtualbox and keep it up to date| Fedora-Centos-Opensource

erlang and dependencies

Question: How to download  the  Last virtualbox and  keep  it update to the  last release in Fedora/Centos/Opensuse?

-1- First cd the yum repo and download the repo:

cd  /etc/yum.repo.d

For Openuse:

wget http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4/virtualbox.repo

For Centos/RHEL.Scientic Linux

wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

For Fedora :

wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

2- Now update and Install

Fedora/Centos/SL/ :  

yum  update

Opensuse  :

 Zypper up

Installation :

– Fedora/Centos/RHEL

 yum install VirtualBox-4.1

– Opensuse

 zypper in VirtualBox-4.1 

3- Rebuild kernel modules with following command:

/etc/init.d/vboxdrv setup Or service vboxdrv setup
add the users to vboxusers group usernmod -a -G vboxusers myusername Enjoy