
After the release of VirtualBox 4.2.x versions, I decided to update the repositories on one of the computers at work, which runs Ubuntu 12.04. To do so just put the following into the file /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian precise contrib
After this change you must refresh the package list and update VirtualBox:
aptitude update aptitude install virtualbox-4.2
Repositories on Debian
For Debian testing (wheezy) and stable (Squeeze) you must put the following lines:
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
Setting apt-cacher
If you followed the apt-cacher and VirtualBox recipe from this blog, I inform you only the /etc/apt/sources.list file must be edited as explained above, I mean, the apt-cacher server remains unchanged.
Reference: Download VirtualBox for Linux Hosts
Planeta Linux
#1 by Luis Gallardo on 01/11/2012 - 9:50 am
@Regino qué bueno que te haya servido de ayuda. Saludos!
#2 by Regino on 31/10/2012 - 4:22 pm
Gracias, estaba buscando como instalar Virtualbox a través de los repositorios. Ya estoy actualizando para probarlo.