How to install Virtualbox in ubuntu 9.04
Posted Under: General
Virtualbox can run whole operating system in a window,but that do not have direct access to your computer hardware,Virtualbox can run all versions of Windows,Linux and various other systems.
To install virtualbox,you need to install following package by running following command in a terminal window first:
sudo apt-get update
sudo apt-get install dkms
Then download .deb package for virtualbox install from the link:http://www.virtualbox.org/wiki/Linux_Downloads
Just double click on the package you downloaded,click Install Package in next window and install it by prompt.
After install finish,restart computer,then you can open it at Applications–>System Tools–>Sun Virtual Box,when you first open up you will see following figure,scroll down to bottom and select I agree

then create user name

you will see virtualbox work window:

Tips:
click here for installing windows XP with virtualbox inside ubuntu
Related posts:
- Install/Update the latest VirtualBox without hurting current VMs
- Install Windows XP inside ubuntu using Virtualbox
- Fix Ubuntu 11.04 cannot Create new Virtual Machine via Virtualbox
- Manage your VirtualBox Guest OS with VBoxManage
- PhpVirtualbox – A web interface to Manage remote Virtualbox VMs

Reader Comments
Hi,
I want to install Virtualbox in my Ubuntu 11.04 but I get the following messages:
jessie@jessie-desktop:~$ sudo apt-get update
[sudo] password for jessie:
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release [1,347 B]
Get:3 http://dl.google.com stable/main i386 Packages [1,204 B]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://archive.canonical.com maverick InRelease
Ign http://download.virtualbox.org natty InRelease
Ign http://tw.archive.ubuntu.com natty InRelease
Ign http://tw.archive.ubuntu.com natty-updates InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://tw.archive.ubuntu.com natty Release.gpg
Get:4 http://tw.archive.ubuntu.com natty-updates Release.gpg [198 B]
Hit http://download.virtualbox.org natty Release.gpg
Hit http://archive.canonical.com maverick Release.gpg
Hit http://tw.archive.ubuntu.com natty Release
Get:5 http://tw.archive.ubuntu.com natty-updates Release [31.4 kB]
Get:6 http://extras.ubuntu.com natty Release.gpg [72 B]
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://download.virtualbox.org natty Release
Hit http://archive.canonical.com maverick Release
Hit http://tw.archive.ubuntu.com natty/main Sources
Hit http://tw.archive.ubuntu.com natty/restricted Sources
Hit http://tw.archive.ubuntu.com natty/universe Sources
Hit http://tw.archive.ubuntu.com natty/multiverse Sources
Hit http://tw.archive.ubuntu.com natty/main i386 Packages
Hit http://download.virtualbox.org natty/contrib i386 Packages
Hit http://tw.archive.ubuntu.com natty/restricted i386 Packages
Hit http://tw.archive.ubuntu.com natty/universe i386 Packages
Hit http://tw.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://tw.archive.ubuntu.com natty/main TranslationIndex
Ign http://tw.archive.ubuntu.com natty/multiverse TranslationIndex
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty Release
Ign http://tw.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://tw.archive.ubuntu.com natty/universe TranslationIndex
Get:7 http://tw.archive.ubuntu.com natty-updates/main Sources [134 kB]
Ign http://download.virtualbox.org natty/contrib TranslationIndex
Hit http://archive.canonical.com maverick/partner Sources
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Get:8 http://tw.archive.ubuntu.com natty-updates/restricted Sources [753 B]
Get:9 http://tw.archive.ubuntu.com natty-updates/universe Sources [28.2 kB]
Get:10 http://tw.archive.ubuntu.com natty-updates/multiverse Sources [1,902 B]
Get:11 http://tw.archive.ubuntu.com natty-updates/main i386 Packages [389 kB]
Hit http://archive.canonical.com maverick/partner i386 Packages
Ign http://archive.canonical.com maverick/partner TranslationIndex
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Get:12 http://tw.archive.ubuntu.com natty-updates/restricted i386 Packages [839 B]
Get:13 http://tw.archive.ubuntu.com natty-updates/universe i386 Packages [106 kB]
Get:14 http://tw.archive.ubuntu.com natty-updates/multiverse i386 Packages [4,615 B]
Ign http://tw.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://tw.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://tw.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://tw.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://download.virtualbox.org natty/contrib Translation-en_US
Ign http://tw.archive.ubuntu.com natty/main Translation-en_US
Ign http://download.virtualbox.org natty/contrib Translation-en
Ign http://tw.archive.ubuntu.com natty/main Translation-en
Ign http://tw.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://tw.archive.ubuntu.com natty/multiverse Translation-en
Ign http://tw.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://tw.archive.ubuntu.com natty/restricted Translation-en
Ign http://tw.archive.ubuntu.com natty/universe Translation-en_US
Ign http://tw.archive.ubuntu.com natty/universe Translation-en
Ign http://tw.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://tw.archive.ubuntu.com natty-updates/main Translation-en
Ign http://tw.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://tw.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://tw.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://tw.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://tw.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://tw.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.canonical.com maverick/partner Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://archive.canonical.com maverick/partner Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
Fetched 700 kB in 6s (112 kB/s)
E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
jessie@jessie-desktop:~$
I don’t know what the messages means, I’m just new to linux and I’m confused sometimes.
Any help is appreciated.
Thanks and Best Regards,
Jessie
[Reply]
you might be running another software in ubutu software centre or in synaptic package manager … first you stop every thing …. and run yr command
[Reply]