Debian 9 Installation Virtual Box

Source: Internet
Author: User
Tags symlink

1. Go to the official website to download the Deb package, such as the package name:

virtualbox-5. 2_5. 2.18-124319_debian_stretch_amd64.deb

2. Installation

sudo dpkg-i virtualbox-5. 2_5. 2.18-124319_debian_stretch_amd64.deb

3. The following problems may occur:

[Email protected]:/home/kevin/download # dpkg-i virtualbox-5.2_5.2.18-124319_debian_stretch_amd64.deb (Reading database ... The system is currently installed a total of159348files and directories. ) is preparing to unpack VirtualBox-5.2_5.2.18-124319_debian_stretch_amd64.deb ... The VirtualBox is being-5.2(5.2. --124319~debian~stretch) Unpacking to (5.2. --124319~debian~stretch) on ... Setting VirtualBox-5.2(5.2. --124319~debian~stretch) ... addgroup: Group"vboxusers"is already a system group. Exit. Created symlink/etc/systemd/system/multi-user.target.wants/vboxdrv.service→/lib/systemd/system/vboxdrv.service.Created symlink/etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service→/lib/systemd/system/ vboxballoonctrl-service.service.Created symlink/etc/systemd/system/multi-user.target.wants/vboxautostart-service.service→/lib/systemd/system/vboxautostart-service.service.Created symlink/etc/systemd/system/multi-user.target.wants/vboxweb-service.service→/lib/systemd/system/vboxweb-Service.service.This System is currently not set up to build kernel modules.   pleaseInstall the GCC make Perl packages from your distribution.   pleaseInstall the Linux kernel "header" files matching the current kernel foradding new hardware support to the system. The distribution packages containing the headers is probably: Linux -headers-amd64 linux-headers-4.9.0-8- AMD64This system was currently not set up to build kernel modules. pleaseInstallTheGCC  Make Perlpackages from your distribution. pleaseInstallThe Linux kernel"Header"files matching the current kernel foradding new hardware support to the system. The distribution packages containing the headers is Probably:linux-headers-amd64 linux-headers-4.9.0-8-Amd64there were problems setting up VirtualBox. to re-start the set-up process, run/sbin/Vboxconfigas root. Processing is being processed for SYSTEMD (232- -+deb9u4) of the trigger ... Processing is being processed for MIME-support (3.60) of the trigger ... Processing is being processed for Hicolor-icon-theme (0.15-1) of the trigger ... Being processed for shared-mime-Info(1.8-1+deb9u1) of the trigger ... Unknown Media TypeinchType'All/all'Unknown Media TypeinchType'All/allfiles'

The above has prompted us to lack GCC make Perl package, Linux kernel header file: Linux-headers-amd64 linux-headers-4.9.0-8-amd64

We only need to install:

sudo Install GCC sudo Install  Make sudo Install Perl sudo Install linux-headers-amd64sudoinstall linux-headers-4.9. 0-8-AMD64

Final execution:

sudo /sbin/vboxconfig

There should be no big problem with virtual box.

In addition, virtual box and USB expansion pack can go to the official website to view the installation.

Debian 9 Installation Virtual Box

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.