How to Install VirtualBox 6.1 Ubuntu Terminal

Posted on

Install VirtualBox Ubuntu

Install VirtualBox 6.1 Ubuntu – To be able to install the VM box application on the Ubuntu, Linux operating system, here I give the easiest way.

How Install VirtualBox 6 Ubuntu Terminal

Download the Virtual Box .deb file by clicking the button below

Open the Terminal in Ubuntu, navigate to the folder where the file is downloaded.

For example I have downloaded the virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb file and the file is in the “Download” folder, then Install it using the command:

sudo apt install ~/Downloads/virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb

If there are no errors, you will see the installation process looks like this:

$ sudo apt install ~/Downloads/virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'virtualbox-6.1' instead of '/home/neon/Downloads/virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb'
The following packages were automatically installed and are no longer required:
  linux-headers-5.17.5-76051705 pipewire-audio-client-libraries
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libqt5opengl5 libsdl-ttf2.0-0
The following NEW packages will be installed:
  libqt5opengl5 libsdl-ttf2.0-0 virtualbox-6.1
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 168 kB/96.0 MB of archives.
After this operation, 224 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libqt5opengl5 amd64 5.15.3+dfsg-2ubuntu0.1 [153 kB]
Get:2 /home/neon/Downloads/virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb virtualbox-6.1 amd64 6.1.36-152435~Ubuntu~jammy [95.8 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 libsdl-ttf2.0-0 amd64 2.0.11-6 [15.1 kB]
Fetched 168 kB in 2s (69.1 kB/s)           
Preconfiguring packages ...
Selecting previously unselected package libqt5opengl5:amd64.
(Reading database ... 321430 files and directories currently installed.)
Preparing to unpack .../libqt5opengl5_5.15.3+dfsg-2ubuntu0.1_amd64.deb ...
Unpacking libqt5opengl5:amd64 (5.15.3+dfsg-2ubuntu0.1) ...
Selecting previously unselected package virtualbox-6.1.
Preparing to unpack .../virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.36-152435~Ubuntu~jammy) ...
Selecting previously unselected package libsdl-ttf2.0-0:amd64.
Preparing to unpack .../libsdl-ttf2.0-0_2.0.11-6_amd64.deb ...
Unpacking libsdl-ttf2.0-0:amd64 (2.0.11-6) ...
Setting up libqt5opengl5:amd64 (5.15.3+dfsg-2ubuntu0.1) ...
Setting up libsdl-ttf2.0-0:amd64 (2.0.11-6) ...
Setting up virtualbox-6.1 (6.1.36-152435~Ubuntu~jammy) ...
Adding group `vboxusers' (GID 132) ...
Done.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for shared-mime-info (2.1-2) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
N: Download is performed unsandboxed as root as file '/home/neon/Downloads/virtualbox-6.1_6.1.36-152435_Ubuntu_jammy_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Wait until finished and done.

I hope this Install VirtualBox 6.1 Ubuntu tutorial is useful.