Howto install Virtualbox on Ubuntu 13.04/12.10/12.04 Debian

Howto install Virtualbox on Ubuntu 13.04/12.10/12.04 Debian

virtutalbox

Step 1: Add virtualbox repo into Repository list

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

 

Step 2: Add the key into repo

root@ubuntu:~# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_v box.asc -O- | sudo apt-key add –
OK

 

Step 3: Update our repo on Ubuntu

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

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 http://us.archive.ubuntu.com/ubuntu/ raring/main libsdl1.2debian i386 1.2.15-5ubuntu1 [206 kB]
Get:2 http://download.virtualbox.org/virtualbox/debian/ raring/contrib virtualbox-4.2 i386 4.2.12-84980~Ubuntu~raring [63.9 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ raring/universe libsdl-ttf2.0-0 i386 2.0.11-2 [17.0 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ raring/main dkms all 2.2.0.3-1.1ubuntu2 [72.8 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ raring/main fakeroot i386 1.18.4-2ubuntu1 [89.0 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ 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 IThelpblog.com.

 

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>