Skip to main content

How to install latest VirtualBox on Ubuntu 18.04 / Debian 9


In this guide, we will look at how to install the latest release of VirtualBox on Ubuntu 18.04 and Debian 9. VirtualBox is a powerful,feature-rich, high-performance and open source x86 and AMD64/Intel64 virtualization solution for both home users and enterprise.
VirtualBox is licensed under the terms of the GNU General Public License (GPL) version 2 and it runs on Linux, macOS, Windows, e.t.c. There are two ways to install VirtualBox on Ubuntu & Debian. One method is using upstream repositories, and the other is from a .deb package.

Install latest VirtualBox on Ubuntu 18.04 / Debian 9

To get the latest release of VirtualBox on your Ubuntu 18.04 / Debian 9 system, the recommended way of installation is from apt repository. Follow steps below to have the latest VirtualBox installed on your Ubuntu 18.04 / Debian 9.

Step 1: Import apt repository

Add repository key
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 -

Step 2:  Add the VirtualBox repository

After importing the key, you can add the repository to the system using the command:
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Step 3:  Install VirtualBox & Extension pack

Finally, install VirtualBox & Extension pack on your Ubuntu 18.04 / Debian 9 system by running the commands:
sudo apt update
sudo apt install linux-headers-$(uname -r) dkms
sudo apt install virtualbox virtualbox-ext-pack
Sample installation output:

Once VirtualBox is installed, you can launch it using the terminal or Desktop applications search.
virtualbox
You should now have the latest version of VirtualBox installed on your Ubuntu 18.04 / Debian 9 system.

Comments

Popular posts from this blog

CKA Simulator Kubernetes 1.22

  https://killer.sh Pre Setup Once you've gained access to your terminal it might be wise to spend ~1 minute to setup your environment. You could set these: alias k = kubectl                         # will already be pre-configured export do = "--dry-run=client -o yaml"     # k get pod x $do export now = "--force --grace-period 0"   # k delete pod x $now Vim To make vim use 2 spaces for a tab edit ~/.vimrc to contain: set tabstop=2 set expandtab set shiftwidth=2 More setup suggestions are in the tips section .     Question 1 | Contexts Task weight: 1%   You have access to multiple clusters from your main terminal through kubectl contexts. Write all those context names into /opt/course/1/contexts . Next write a command to display the current context into /opt/course/1/context_default_kubectl.sh , the command should use kubectl . Finally write a second command doing the same thing into ...

OWASP Top 10 Threats and Mitigations Exam - Single Select

Last updated 4 Aug 11 Course Title: OWASP Top 10 Threats and Mitigation Exam Questions - Single Select 1) Which of the following consequences is most likely to occur due to an injection attack? Spoofing Cross-site request forgery Denial of service   Correct Insecure direct object references 2) Your application is created using a language that does not support a clear distinction between code and data. Which vulnerability is most likely to occur in your application? Injection   Correct Insecure direct object references Failure to restrict URL access Insufficient transport layer protection 3) Which of the following scenarios is most likely to cause an injection attack? Unvalidated input is embedded in an instruction stream.   Correct Unvalidated input can be distinguished from valid instructions. A Web application does not validate a client’s access to a resource. A Web action performs an operation on behalf of the user without checkin...