樹心幽徑

« 20180629openssl操作 | Main | 20180707在ubuntu1604的VitualBox5.2裝windows XP »

20180707在ubuntu1604裝VitualBox
2018/07/07,05:51

(一)

REF:https://blog.csdn.net/pengjian444/article/details/71775476

https://www.virtualbox.org/

(二)

(1)

treehrt@treehrt-fire:~$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

(1b)

treehrt@treehrt-fire:~$ vi /etc/apt/sources.list

 

treehrt@treehrt-fire:~$ cat /etc/apt/sources.list

:

http://download.virtualbox.org/virtualbox/debian xenial contrib

 

(2)

treehrt@treehrt-fire:~$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
OK

 

(3)

treehrt@treehrt-fire:~$ sudo apt update

:

取得 4,666 kB 用了 3秒 (1,389 kB/s)                                  

:

228 packages can be upgraded. Run 'apt list --upgradable' to see them.

(4)

treehrt@treehrt-fire:~$ sudo apt install virtualbox-5.0

:

Consult /var/lib/dkms/vboxhost/5.0.40/build/make.log for more information.
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)
Processing triggers for libc-bin (2.23-0ubuntu10) ...

(5)

treehrt@treehrt-fire:~$ sudo apt install virtualbox-5.1

:

設定 virtualbox-5.1 (5.1.38-122592~Ubuntu~xenial) ...
addgroup: 在系統群組中已有 'vboxusers' 這個群組。離開本功能。
Processing triggers for libc-bin (2.23-0ubuntu10) ...
treehrt@treehrt-fire:~$

treehrt@treehrt-fire:~$ virtualbox
 

執行ok, 安裝成功。
(6)

treehrt@treehrt-fire:~$ sudo apt install virtualbox-5.2


treehrt@treehrt-fire:~$ virtualbox
 

執行ok, 安裝昇級也成功。

迴響

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType