• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Install VirtualBox on Ubuntu

October 7, 2018 by Sharad Chhetri

Learn how to install Virtualbox on Ubuntu 22.04,20.04 ,16.04, 14.04 LTS Desktop. We are using VirtualBox for creating Virtual Machines(VM). Our main goal here is to use Virtual Machine(VM) for our DevOps practices. It is a good idea to use VirtualBox or other virtualisation for your DevOps related practices in test VM.

VirtualBox is OpenSource and free virtualization software. So surely it is economical too.

Install Virtual Box on Ubuntu Desktop System

  1. Update the apt source file
  2. This command will update the /etc/apt/sources.list file. You can find the updated last line in the file.

    echo "deb https://download.virtualbox.org/virtualbox/debian `lsb_release -c|awk '{print $2}'` contrib"|sudo tee -a /etc/apt/sources.list
    
  3. Download and register the keys in 22.04 LTS Desktop
  4. wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmor --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg
    
  5. Download and register the keys in 20.04 ,16.04, 14.04 LTS Desktop
  6. 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 -
    
  7. Install Virtual Box. Replace with latest version number
  8. sudo apt-get update
    sudo apt-get install virtualbox-7.0
    

The above 3 steps will install the VirtualBox and you are ready to use it. We will encourage you to always read the official documentation.

To optimize the performance of Guest Operating System, you should install VirtualBox Guest Additions. After installing VirtualBox Guest Additions, you can also create videos of Guest Operating System.

The official documentation is very useful and here is the referral url : Download Virtual Box

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)
  2. How to install VirtualBox in Ubuntu 14.04 LTS (Trusty Tahr)
  3. Install VirtualBox Guest Additions and create videos
  4. Easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia
  5. Virtual Machine inaccessible status on VirtualBox 4.3
  6. VirtualBox Error: Failed to open/create the internal network
  7. Install XFCE Desktop in Ubuntu through command line
  8. How to install flash player plugin in Ubuntu
  9. How to install Owncloud 6 on Ubuntu 14.04 LTS Server
  10. Install Vagrant on Ubuntu and create first VM

Filed Under: Linux Tagged With: ubuntu, virtualbox

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Print double hyphen sign simultaneously in post of Octopress

How to empty Trash through command line in Ubuntu

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden

Could not find make anywhere!!! Please edit the config section to include the path to make. at ./install.pl line 2101

How to forcefully send mail from mailq in sendmail MTA

How to add/install Ubuntu fonts in CentOS/Red Hat Linux

linux release renew dhcp assigned ip address

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy