How to Install VirtualBox in Linux?
Last Updated :
11 Oct, 2024
Virtual Machine abstracts the hardware of our personal computers such as CPU, disk drives, memory, NIC (Network Interface Card), etc., into many different execution environments as per our requirements, hence giving us a feeling that each execution environment is a single computer.
For example, VirtualBox. We can create a virtual machine for several reasons, all of which are fundamentally related to the ability to share the same basic hardware yet also support different execution environments, i.e., different operating systems simultaneously.
Methods to Install Virtual Box on our Debian-based Linux system
Here are three ways to download VirtualBox on a Debian-based system like Ubuntu. Each method offers different advantages, such as convenience or the ability to get the latest version of the software.
Method 1: Install VirtualBox from Ubuntu Repository
Open the terminal and run this command.
sudo apt install VirtualBox
.webp)
sudo apt install VirtualBox
Verify Installation
We use the `dpkg` command which is used to manage installed packages on Debain-based system like Ubuntu.
dpkg -l | grep virtualbox
.webp)
dpkg -l | grep virtualbox
Method 2: Install VirtualBox using GUI (Graphical User Interface)
Downloading and Installing VirtualBox. To download VirtualBox, go to the official site virtualbox.org and download the latest version for Linux.Â
For example: We want to install VirtualBox for Ubuntu.
Step 1: Double Click on this
.webp)
select Ubuntu 22.04
Step 2: Follow the numbering.Â
First Right click and select ‘open with other application’, then follow the numbering.
.webp)
Steps for installing Virtualbox
Step 3: Click on Install
.webp)
Click on Install
Step 4: Search Virtualbox and Double click on application.
.webp)
Virtualbox application
VirtualBox application Opened.
.webp)
VirtualBox in Ubuntu
Method 3: Installing VirtualBox using Oracle’s repository
Step 1: Run this command in your terminal (adding key for the repository)
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo gpg --dearmor -o /usr/share/keyrings/oracle-virtualbox-2016.gpg
Step 2: Run this command in your terminal (adding Oracal VirtualBox repository in the repository list)
sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
Step 3: Update the package list.
sudo apt-get update
Step 4: Command for installation of virtualbox
sudo apt-get install virtualbox
Similar Reads
How to install CSI Linux in VirtualBox?
What if there is a multi-purpose operating system designed especially for cyber investigators, yes you read it right and the answer to that question is, yes there is one such operating system known as CSI Linux. It is an open-source 'theme park' for the cyber security industry enthusiast. It has ton
3 min read
How to Install Kali Linux in VirtualBox?
Dual Booting a Windows Laptop with Kali Linux, Though increases the speed and efficiency of the OS, but we can not switch between Windows and Kali Linux instantly. To do so, we will have to install Kali Linux in Virtual Box or any other hypervisor. So, what is a hypervisor? Refer to this article Hyp
5 min read
How to install Virtualmin in Linux
In this article, we will learn to install Virtualmin on Linux Operating System. Virtualmin is based on Webmin, a popular web server management user interface for Linux. It is a domain hosting and website control panel that enables the creation and management of multiple domains and simplifies automa
3 min read
How to Install VisualVM in Linux
When operating on a Java Virtual Machine, the sophisticated tool VisualVM offers a visual interface for viewing in-depth details about local and remote Java applications (JVM). To see the program within the JVM, it makes use of and integrates some of the command-line tools that the JDK offers; this
3 min read
How to Install Kali Linux VirtualBox Image?
Kali Linux is considered as the best perpetration testing Linux distribution as it comes with every important tool pre-installed in it. If you have a spare system you can directly install Kali into it, but if you plan to use it in a virtual environment then the best and safest method would be to use
2 min read
How to install Virtual Box in Kali Linux
We all have seen that we find lots of installation walkthroughs about how to install a virtual box in windows and run kali Linux on that. But in this installation guide, we are going to show you how you can install Virtual box in the Kali Linux Operating system. Let's start. How to install Virtual B
2 min read
How to Install Garuda Linux on VirtualBox?
Garuda Linux is a rolling distribution that is based on the Arch Linux operating system, except, like Arch Linux, Garuda Linux comes with a graphical installer which is useful for easy installation, and also has other advanced graphical tools for managing one's system. It is a performance-oriented L
3 min read
How to Install Kubuntu on VirtualBox?
Kubuntu is the flavor of the Ubuntu operating system which uses the KDE Plasma Desktop instead of the GNOME desktop environment. Kubuntu 21.04 features the beautiful KDE Plasma. It comes with updates to many core packages, including KDE Frameworks 5.68, Plasma 5.18 LTS KDE Applications 19.12.3, and
3 min read
How to install Sentora in Linux
Sentora is an Open-Source Web Hosting Control Panel that is used to build specifically to work on a variety of Linux. it's a free-to-download and use web hosting control panel developed for Linux, UNIX (it stands for UNICS 'UNiplexed Information Computing System' ), and BSD Based servers or computer
3 min read
How to Install Deepin on VirtualBox?
Deepin is a Debian-based distribution that aims to provide a user-friendly, user-friendly and reliable operating system. It does not only include the best open source world has to offer, but also it has created its own desktop environment called DDE which is based on the Qt 5 toolkit. It focuses muc
3 min read