3

How do I install (for example with apt-get install command) the new version of virtual box 5.1.22 (while i have 5.1.18) with command line? What commands do I use?

muru
  • 207,228
Exis_Touf
  • 73
  • 1
  • 6

2 Answers2

3

I would use gdebi for this:

sudo apt-get install gdebi-core

Then you can install any debian installer file with ...

sudo gdebi virtualbox-5.1.22.deb

Advantage: this will also check and install dependencies.

Rinzwind
  • 309,379
0

just type command sudo apt install virtualbox and it will upgrade your Virtualbox.also command sudo apt sudo apt upgrade virtualbox will do the same