Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Distributions»Debian»How To Install VirtualBox 6.1 on Debian 10 (Buster)

    How To Install VirtualBox 6.1 on Debian 10 (Buster)

    By RahulJune 27, 20202 Mins Read

    The VirtualBox 6.1 is the latest major released by the by the Oracle team. This version is released with various performance improvements over the previous major releases. This article helps you to install VirtualBox on Debian 10 Buster Linux system.

    Advertisement

    Step 1 – Prerequisites

    Login to your Debian 10 Buster Linux desktop system with sudo privileges user. Then update the currently installed packages on your system. To do this simply run the following commands.

    sudo apt update
    sudo apt upgrade
    

    Step 2 – Setup Apt Repository

    Now, import the Oracle public key to your system, which has signed the Debian packages. You can add these key using the following commands.

    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
    wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
    

    Then configure the apt repository on your Debian 10 Buster system. This command will add an entry to /etc/apt/sources.list file at end of the file.

    sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian buster contrib"
    

    Step 3 – Install VirtualBox on Debian 10

    After completing the above steps, let’s install VirtualBox using the following commands. If you have already installed an older version of VirtualBox, Below command will update it automatically.

    sudo apt update
    sudo apt install virtualbox-6.1
    

    Step 4 – Launch VirtualBox

    You can use the dashboard navigation tool to start VirtualBox or simply execute the following command from a terminal.

    virtualbox
    

    virtualbox-on-ubuntu

    Buster Debian 10 VirtualBox
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Using the Apt Package Manager on Debian-based Systems

    How to Setup DKIM (DomainKeys) with Postfix

    A Step-by-Step Guide to Installing OpenDKIM with Postfix on Ubuntu – Unleash the Power of DKIM!

    How to Install VirtualBox on macOS

    How to Install VirtualBox on MacOS

    View 27 Comments

    27 Comments

    1. Peter on August 22, 2020 5:41 am

      WARNING: The vboxdrv kernel module is not loaded. Either there is no module
      available for the current kernel (4.19.0-5-amd64) or it failed to
      load. Please recompile the kernel module and install it by

      sudo /sbin/vboxconfig

      You will not be able to start VMs until this problem is fixed.
      …
      If your system is using EFI Secure Boot you may need to sign the
      kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
      them.

      Do you have any advice howto proceed?

      Reply
      • Hazem Hasan on January 21, 2021 10:12 am

        Hello
        Peter, I have the same issu on my debian 10, have you find the solution?

        thanks

        Reply
        • okel on March 18, 2021 11:00 am

          same issue for me

          Reply
    2. walid on February 19, 2020 10:04 pm

      Thank you !!! Work in Linux parrot 5.2.0-2

      Reply
    3. Kurt on October 24, 2019 11:57 pm

      Thank you for this post, although I haven’t tried the procedure yet. Any idea why VirtualBox is not offered as a direct download on the VirtualBox site for Debian Buster?

      Reply
    4. Rejo78 on September 8, 2019 2:48 pm

      For x86? 🙁

      Reply
    5. cs on September 2, 2019 12:52 pm

      Thank you!

      Reply
    6. Nicolas on September 2, 2019 9:34 am

      The URL to add to the repo should be
      deb http://download.virtualbox.org/virtualbox/debian buster contrib

      (buster and not bionic)

      Reply
    7. Lioh on August 30, 2019 6:31 am

      Add: [arch=amd64] to the repo definition:

      like:

      deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian

      Reply
    8. warfare on August 18, 2019 5:45 pm

      Thanks for the instruction. Everything works for Debian 10. It is strange that a virtual box is used for ubuntu, but there is still no debian. But Debian release gash.

      Reply
    9. na-am on July 30, 2019 8:22 am

      hi,
      after the command “virtualbox” i get the following error:
      No protocol specified
      Qt WARNING: QXcbConnection: Could not connect to display :0
      Qt CRITICAL: Could not connect to any X display.

      what’s wrong?
      thx

      Reply
      • Alguien on August 26, 2019 3:41 pm

        Hi, I had a similar problem when trying to install matlab, I fixed it using the following command:

        xhost +SI:localuser:root

        Reply
      • Younes on September 25, 2021 10:34 pm

        Have you found a solution?

        Reply
    10. Mikhail on July 24, 2019 8:58 pm

      Hello!
      Thank you very much!

      Reply
    11. Sparkos on July 18, 2019 11:52 am

      Hello,
      When I try to start a virtual machine i get the following error “You must sign these kernel modules before using VirtualBox:”

      What should I do?

      /Sparkos

      Reply
    12. Lowell Day on July 13, 2019 11:36 am

      There is a minor mistake in step #2.

      You only need to add the newer key, oracle_vbox_2016.asc.
      You don’t need to (and shouldn’t) add the old key, oracle_vbox.asc.

      oracle_vbox_2016.asc = for Debian 8 (“Jessie”) / Ubuntu 16.04 (“Xenial”) and later
      oracle_vbox.asc = for older distributions

      see:
      https://www.virtualbox.org/wiki/Linux_Downloads

      here for Debian 8 (“Jessie”) / Ubuntu 16.04 (“Xenial”) and later

      here for older distributions.

      Reply
    13. Juan on July 9, 2019 5:29 pm

      Genius!

      Works pefect… now go restart Debian… 😐

      Tnks.

      Reply
      • jua on July 9, 2019 5:37 pm

        After restart all works good and VirtualBox works perfect.

        Debian 10 is very fast… I’m impresionated.. 12GB+i7+SSD+XFS

        TNK RAHUL!

        Reply
    14. mmihaylov on July 8, 2019 3:15 pm

      It works for Debian 10, thank’s

      Reply
    15. John Tetreault on March 2, 2019 7:32 pm

      There is no BUSTER branch in the virtualbox repository…. this guide simply DOES NOT WORK.

      Reply
      • Rahul on March 6, 2019 4:29 am

        I have updated the tutorial. The VirtualBox on Debian 10 Buster can be installed from Bionic repository.

        Reply
      • kalle on May 22, 2019 7:40 am

        sudo: add-apt-repository: command not found!

        Manually add to sources.list

        deb https://download.virtualbox.org/virtualbox/debian bionic contrib

        and it is ok.

        Reply
        • Leandro Ramos on June 30, 2019 6:25 pm

          You must install the software-properties-common to use the add-apt-repository command.

          Reply
        • Danny on August 21, 2019 10:23 pm

          You forgot to add the user to vboxusers group

          [code]
          sudo usermod -a -G vboxusers ${USER} && shutdown -r now
          [/code]

          You can launch virtualbox and even install extensions without rebooting but you will not be able to add usb devices workout a reboot

          Reply
    16. David Berryman on November 30, 2018 1:57 pm

      Ummm, Debian and Ubuntu are two different distributions, you can not use the exact same commands for any two different distributions. For example, ” add-apt-repository” is Ubuntu specific.
      Please consult your man (manual) pages prior to typing and submitting more crap.
      Editor, you should be fired, it is your responsibility to ensure your subs’ contributions are square (on the level, etc etc).
      Your father must own the company, good for you…

      /Dave B

      Reply
      • Leandro Ramos on June 30, 2019 6:26 pm

        You can use the add-apt-repository on Debian by installing software-properties-common package.

        Reply
    17. anyvendmaker on August 11, 2018 3:51 pm

      Hello,
      Thank you very much for this informative post. this helps me a lot , now my doubts are cleared. you explained very well. keep posting useful stuff like this. Good job.

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Setting and Getting the Default Timezone in Python
    • What is Media Access Control (MAC) Address?
    • What is Cross-Site Scripting (XSS)?
    • What is Content Security Policy (CSP)?
    • A User’s Guide to Understanding Redirection Operators in Bash
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.