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
  • 197,895
  • 55
  • 485
  • 740
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
  • 299,756
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

  • Are you sure? That should ONLY work if he has a PPA with 5.1.22 in it. – Rinzwind May 14 '17 at 13:00
  • i just tried this in my terminal and then post these commands and have just installed Ubuntu mate 16.04 which is very clean with no additional PPA –  May 14 '17 at 13:02
  • Shall i try this or there will be any drawback? – Exis_Touf May 14 '17 at 13:20
  • No. there are no drawback.but it is simple way.if it doesn't work then try other answer. –  May 14 '17 at 13:30