Install VirtualBox in Ubuntu

Source: Internet
Author: User
VirtualBox is a very good Virtual Machine software. The most commendable thing is that the performance of the virtual system is close to that of the real machine, and it feels very fast. In addition, it is an open source software released under the GPL license agreement, so you can use it freely. To install VirtualBox in Ubuntu, follow these steps: Download the installation package. We recommend that you download the Deb package to install it directly in Ubuntu. You need

VirtualBox is a very good Virtual Machine software. The most commendable thing is that the performance of the virtual system is close to that of the real machine, and it feels very fast. In addition, it is an open source software released under the GPL license agreement, so you can use it freely.

Install VirtualBox

To install VirtualBox in Ubuntu, follow these steps:

Download the installation package. We recommend that you download the Deb package to install it directly in Ubuntu. You need to download it based on the Ubuntu version you are using. For Dapper, download the installation package for Dapper. Other versions for Ubuntu include Edgy and Feisty. Here we will download VirtualBox 1.3.8 for Ubuntu Feisty. You can find the corresponding version from here.

Prepare dependencies. For normal use of VirtualBox, libxalan110 and libxerces27 are required. Therefore, to install them first, you can use the following command:

Sudo apt-get install libxalan110 libxerces27

Install the compilation tool and related packages. During the installation process, compile the kernel module used by VirtualBox. To do this, you need to prepare basic compilation tools and packages. You can use the following commands to install them:

Sudo apt-get install build-essential linux-headers-'uname-R'

Now, go to the directory where the VirtualBox installation package is saved and install it using the following command:

Sudo dpkg-I VirtualBox_1.3.8_Ubuntu_feisty_i386.deb

Note: here we use Ubuntu Feisty as an example. If you install it in other Ubuntu versions, use the corresponding installation package instead. During installation, VirtualBox requires you to accept the license agreement. In addition, the installer creates a vboxusers user group and compiles the required kernel modules.

Now, you cannot start VirtualBox because your current user does not belong to the vboxusers user group. You can use the following command to add the current user to the vboxusers user group:

Sudo adduser xu vboxusers

Similarly, use your user name instead of "xu" in the command ".

VirtualBox is installed to the/opt/VirtualBox-x.x.x directory by default, where x. x. x represents the version number of VirtualBox. You can directly input the VirtualBox Startup Program in the terminal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.