actually VirtualBox is a free, open-source, cross-platform software provided by the Sun microsystem to install your free operating system virtually on the hosted operating system.
in this post, I am going to share you three effective ways by which you can successfully install VirtualBox Ubuntu operating system.
VirtualBox supports installing windows, Mac, and other operating systems which is supported by the computer so you can easily install on your OS.
every person has a different perspective to install any software. so in this post, I am going to share you to install VirtualBox by the user interface(UI) then second-way is command prompt and third way is by which you can install extension package by the command prompt only.
Install VirtualBox Ubuntu through the software manager
if you want to install VirtualBox through user interface then you should click on the Ubuntu software manager.
Ubuntu software manager is actually a repository. which is located at the settings menu. you can open Ubuntu software manager by looking in the activities toolbar.
your Ubuntu software manager will look like below. after that just click on the search icon which is located at the right side of the cross button in the search box type “Virtualbox“
you will find the following types of lists. just click on the first virtual box icon and click on the install. you need to enter your main administrator/root password to prevent any software to install.
after clicking on the install it will take some time and percentage by which how many percentages you have installed your software the progress will be shown.
once you have successfully installed VirtualBox you will be welcome installation message.
if you want to search option just type the VirtualBox and just click on the VirtualBox blue colour icon after that you are tool will be shown like below
uninstalling VirtualBox through Ubuntu software manager
to uninstall VirtualBox from Ubuntu software manager just open Ubuntu software manager and search for VirtualBox after that you will get a wizard.
just click on the remove option enter your administrator or root password just click on ok and it will be removed from your Ubuntu operating system.
installing VirtualBox through command prompt
if you are a developer or a terminal techie person then many of the terminal techie persons are allowed to install any of the given to software through the command prompt.
to install your VirtualBox through command prompt/ the terminal there is multiverse repository which is by default disabled and that repository is required to install VirtualBox.
to enable VirtualBox you need to type the following command as a root in the terminal window:
$ sudo add-apt-repository multiverse && sudo apt-get update
please follow the following procedure to type your come on the terminal window.
you will be prompted with the password so that you need to type your root password for installing the software.
now type the following command to install VirtualBox on ubuntu system through command prompt.
$ sudo apt install virtualbox
after that, your system will be prompted you with Y/n option. then you need to type Y through your keyboard and click on enter.
after successful installation of VirtualBox on the operating system you can directly launch your VirtualBox by the following the command
removing VirtualBox from your Ubuntu
in order to remove VirtualBox from Ubuntu operating system, you type the following command with Sudo
$ Sudo apt remove VirtualBox
the system will prompt you with the following an option you can choose y and click on enter
installing the extension package
sometimes the basic features of the VirtualBox are not much completed without an extension package. if you want some additional features of the free installation of the virtual machine then you need to install a virtual package which is given below.
enter the following command in the Sudo form and press enter
$ sudo apt install virtualbox-ext-pack
you will be prompted without disclaimer or copyright package decided
just click on the ok and click on yes on button
Now open the VirtualBox from another command prompt from your menu
go to the extension package from the file meaning then you can either add or remove any virtual packages you want to see in the below that is an Oracle virtual machine.
if you want to add or remove an extension package June you need to put the following command on the command prompt
after that it will ask you to either click on y or n click on the Wi-Fi then after some time, your VirtualBox extension package will be installed successfully.
which method is used for installing VirtualBox monument operating system let me know in the comment section below water problem you faced or have you any field any problem let me know in the comment section below thank you for this article.