Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Virtualization»How To Install VirtualBox 6.1 on Ubuntu 18.04 LTS

    How To Install VirtualBox 6.1 on Ubuntu 18.04 LTS

    By RahulJune 27, 20202 Mins Read

    Oracle VirtualBox 6.1.10 has been released on June 05, 2020. Oracle VirtualBox 6.1 is the latest major release after launched by Oracle team. You can read the ChangeLog to know more about changes in newer version’s of VirtualBox. This tutorial will help you to install VirtualBox on Ubuntu 18.04 LTS Bionic Beaver Linux systems.

    Advertisement

    Step 1 – Prerequisites

    Login to your Ubuntu 18.04 desktop system with sudo privileged user. After login to your system update current packages of the system to the latest version.

    sudo apt update
    sudo apt upgrade
    

    Step 2 – Setup Apt Repository

    Now, import the Oracle public key to your system signed the Debian packages 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, you need to add Oracle VirtualBox PPA to Ubuntu system. You can do this by running the below command on your system.

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

    This command will add an entry to /etc/apt/sources.list at end of the file.

    Step 3 – Install VirtualBox on Ubuntu 18.04

    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

    We can use dashboard shortcuts to start VirtualBox or simply run following command from a terminal.

    virtualbox
    

    Install Virtualbox on Ubuntu 18.04

    Oracle VirtualBox VirtualBox
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Install VirtualBox on macOS

    How to Install VirtualBox on MacOS

    How to Install VirtualBox on Ubuntu 22.04

    How to Install VirtualBox 7.0 on Ubuntu 22.04

    How to Install VirtualBox on Debian 11

    How To Install VirtualBox 7.0 on Debian 11

    View 32 Comments

    32 Comments

    1. Newthing on November 23, 2021 2:39 am

      I used virtualbox instead of virtualbox-6.1
      Cause i was getting “Couldn’t find any package by glob ‘virtualbox-6.1′”
      “couldn’t find any package by regex ‘virtualbox-6.1′”

      Reply
    2. Tara on February 18, 2021 9:55 pm

      Thank a lot. It’s really helpful.

      Reply
    3. FC on January 25, 2021 10:25 pm

      vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.

      There were problems setting up VirtualBox. To re-start the set-up process, run
      /sbin/vboxconfig
      as root.

      Reply
    4. ksingh on December 29, 2020 8:26 am

      not working on 18.04:

      at the end of the installation throws following messages:

      This system is currently not set up to build kernel modules.
      Please install the Linux kernel “header” files matching the current kernel
      for adding new hardware support to the system.
      This system is currently not set up to build kernel modules.
      Please install the Linux kernel “header” files matching the current kernel
      for adding new hardware support to the system.

      There were problems setting up VirtualBox. To re-start the set-up process, run
      /sbin/vboxconfig
      as root. 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. Please see your Linux system’s documentation for more information.

      Reply
      • Bilew on April 2, 2021 10:19 am

        it works to me. but there was issue when I install it. before you install it
        sudo apt-get update
        sudo apt-get upgrade
        here you must see upgrade has no issue like below
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        then install it.

        Reply
    5. Rodney Jackson on August 6, 2020 10:49 am

      all went well until the end. ERROR: The following packages have unmet dependencies:
      virtualbox-6.1 : Conflicts: virtualbox
      Conflicts: virtualbox-qt but 5.2.42-dfsg-0~ubuntu1.18.04.1 is to be installed

      E: Unable to correct problems, you have held broken packages.

      Could you give step by step help to fix this please, I am rather new at ubuntu.
      Thank you.
      Rod.

      Reply
    6. rafli on February 1, 2020 3:14 am

      this is very helpful, thank you

      Reply
    7. sarmad on December 22, 2019 8:30 pm

      Love you man

      Reply
    8. Marco on October 2, 2019 8:52 am

      Thanks! This really helped me!

      Reply
    9. Mitch Anderson on September 25, 2019 2:55 am

      Perfect! Thanks man!

      Reply
    10. Brian on September 9, 2019 3:23 am

      thanks for help!

      Reply
    11. danielRamos on August 26, 2019 12:52 pm

      very good…. thanks for help.

      Reply
    12. Anxuiesbe on August 19, 2019 4:31 am

      Nice job

      Reply
    13. Man on August 19, 2019 4:30 am

      good

      Reply
    14. Shiva on August 5, 2019 4:14 am

      Reading package lists… Done
      E: The repository ‘cdrom://Ubuntu 18.04.2 LTS _Bionic Beaver_ – Release amd64 (20190210) bionic Release’ does not have a Release file.
      N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Skipping acquire of configured file ‘contrib/binary-i386/Packages’ as repository ‘http://download.virtualbox.org/virtualbox/debian bionic InRelease’ doesn’t support architecture ‘i386’

      its telling that the page is not available now

      Reply
      • Arulraj on September 25, 2019 12:35 am

        As per Ray Yu comment

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

        Reply
    15. Neila on August 1, 2019 4:24 am

      Thanks!

      Reply
    16. Ricardo on July 17, 2019 10:17 pm

      Thanks; installation worked out great now I will attempt to install an OS.

      Reply
    17. Raj on July 6, 2019 4:51 am

      Thanks for your effort.

      Reply
    18. carlos on June 26, 2019 1:44 pm

      thanks bro..

      Reply
    19. Miguel on June 19, 2019 8:54 am

      If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.

      Reply
    20. Tu Tran on June 17, 2019 8:29 am

      Very nice.. It’s worked for me. Many thanks!

      Reply
    21. Tuhin Alam on May 30, 2019 8:09 pm

      can i upgrade 19.04

      Reply
    22. Ray Hu on May 23, 2019 4:45 pm

      Run into warnings:
      N: Skipping acquire of configured file ‘contrib/binary-i386/Packages’ as repository ‘http://download.virtualbox.org/virtualbox/debian bionic InRelease’ doesn’t support architecture ‘i386’

      Modified the source line a bit to avoid it:

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

      This line limits the architecture to amd64, so it won’t pull i386.

      Reply
    23. Saurabh on May 14, 2019 2:31 pm

      my error after following the instructions

      /usr/lib/virtualbox/VirtualBox: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

      Reply
    24. Surfer on May 1, 2019 8:20 pm

      Sweat … nicely done!

      Reply
    25. Vimal on April 28, 2019 8:09 am

      A very helpful article. Thank you.

      Reply
    26. JULIANO on April 22, 2019 9:41 pm

      gracie, perfect!!!

      Reply
    27. Massimiliano Ceretti on April 21, 2019 7:57 am

      sostituisci: “bionic” con “disco”

      Reply
    28. Michael on April 15, 2019 10:13 am

      This doesn’t work on Ubuntu 19.04

      Reply
      • Partha Basak on April 28, 2019 6:10 pm

        What issues you are facing?

        Reply
    29. Really on April 4, 2019 1:39 am

      Lockdown: Loading of unsigned modules is restricted; see man kernel_lockdown.7

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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