Howto install Virtualbox on Ubuntu 13.04/12.10/12.04 Debian

Howto install Virtualbox on Ubuntu 13.04/12.10/12.04 Debian


Step 1: Add virtualbox repo into Repository list

root@ubuntu:~# echo “deb $(lsb_ release -sc) contrib” | sudo tee /etc/apt/sources.list.d/virtualbox.list
deb raring contrib


Step 2: Add the key into repo

root@ubuntu:~# wget -q box.asc -O- | sudo apt-key add –


Step 3: Update our repo on Ubuntu

root@ubuntu:~# sudo apt-get update
Get:1 raring Release.gpg [198 B]
Hit raring Release.gpg
Get:2 raring Release [5,386 B]
Get:3 raring-updates Release.gpg [933 B]
Get:4 raring Release.gpg [72 B]
Get:5 raring-security Release.gpg [933 B]
Hit raring-backports Release.gpg
Hit raring Release
Get:6 raring-security Release [40.8 kB]
Get:7 raring/contrib i386 Packages [1,000 B]
Hit raring Release
Hit raring/main Sources
Get:8 raring-updates Release [40.8 kB]
Hit raring/main i386 Packages
Get:9 raring-security/main Sources [7,543 B]
Hit raring-backports Release
Get:10 raring-security/restricted Sources [14 B]
Hit raring/main Sources
Get:11 raring-security/universe Sources [1,982 B]
Hit raring/restricted Sources
Get:12 raring-security/multiverse Sources [697 B]
Hit raring/universe Sources
Get:13 raring-security/main i386 Packages [30.8 kB]
Ign raring/contrib Translation-en_US
Hit raring/multiverse Sources
Ign raring/contrib Translation-en
Hit raring/main i386 Packages
Hit raring/restricted i386 Packages
Get:14 raring-security/restricted i386 Packages [14 B]
Hit raring/universe i386 Packages
Get:15 raring-security/universe i386 Packages [6,940 B]
Hit raring/multiverse i386 Packages
Ign raring/main Translation-en_US
Get:16 raring-security/multiverse i386 Packages [1,389 B]
Hit raring/main Translation-en
Ign raring/main Translation-en
Hit raring-security/main Translation-en
Hit raring/multiverse Translation-en
Hit raring-security/multiverse Translation-en
Hit raring/restricted Translation-en
Hit raring/universe Translation-en
Hit raring-security/restricted Translation-en
Get:17 raring-updates/main Sources [12.2 kB]
Get:18 raring-updates/restricted Sources [14 B]
Get:19 raring-updates/universe Sources [9,167 B]
Hit raring-security/universe Translation-en
Get:20 raring-updates/multiverse Sources [697 B]
Get:21 raring-updates/main i386 Packages [38.5 kB]
Get:22 raring-updates/restricted i386 Packages [14 B]
Get:23 raring-updates/universe i386 Packages [27.1 kB]
Get:24 raring-updates/multiverse i386 Packages [1,389 B]
Hit raring-updates/main Translation-en
Hit raring-updates/multiverse Translation-en
Hit raring-updates/restricted Translation-en
Ign raring-security/main Translation-en_US
Hit raring-updates/universe Translation-en
Ign raring-security/multiverse Translation-en_US
Hit raring-backports/main Sources
Ign raring-security/restricted Translation-en_US
Hit raring-backports/restricted Sources
Hit raring-backports/universe Sources
Ign raring-security/universe Translation-en_US
Hit raring-backports/multiverse Sources
Hit raring-backports/main i386 Packages
Hit raring-backports/restricted i386 Packages
Hit raring-backports/universe i386 Packages
Hit raring-backports/multiverse i386 Packages
Hit raring-backports/main Translation-en
Hit raring-backports/multiverse Translation-en
Hit raring-backports/restricted Translation-en
Hit raring-backports/universe Translation-en
Ign raring/main Translation-en_US
Ign raring/multiverse Translation-en_US
Ign raring/restricted Translation-en_US
Ign raring/universe Translation-en_US
Ign raring-updates/main Translation-en_US
Ign raring-updates/multiverse Translation-en_US
Ign raring-updates/restricted Translation-en_US
Ign raring-updates/universe Translation-en_US
Ign raring-backports/main Translation-en_US
Ign raring-backports/multiverse Translation-en_US
Ign raring-backports/restricted Translation-en_US
Ign raring-backports/universe Translation-en_US
Fetched 228 kB in 37s (6,148 B/s)
Reading package lists… Done

Step 4: Install Virtualbox

root@ubuntu:~# sudo apt-get install virtualbox-4.2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
dkms fakeroot libsdl-ttf2.0-0 libsdl1.2debian python-central
Suggested packages:
dpkg-dev debhelper
The following NEW packages will be installed:
dkms fakeroot libsdl-ttf2.0-0 libsdl1.2debian python-central virtualbox-4.2
0 upgraded, 6 newly installed, 0 to remove and 23 not upgraded.
Need to get 64.3 MB of archives.
After this operation, 142 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 raring/main libsdl1.2debian i386 1.2.15-5ubuntu1 [206 kB]
Get:2 raring/contrib virtualbox-4.2 i386 4.2.12-84980~Ubuntu~raring [63.9 MB]
Get:3 raring/universe libsdl-ttf2.0-0 i386 2.0.11-2 [17.0 kB]
Get:4 raring/main dkms all [72.8 kB]
Get:5 raring/main fakeroot i386 1.18.4-2ubuntu1 [89.0 kB]
Get:6 raring/universe python-central all 0.6.17ubuntu2 [41.4 kB]
2% [2 virtualbox-4.2 930 kB/63.9 MB 1%]…………………………………………………………

That’s it. Thanks for using


Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>