From 6f1d8d40467d3181b9b17b8624e2408735782ba6 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Fri, 30 Aug 2019 07:21:31 +0800 Subject: [PATCH 1/2] PRF @beamrolling --- ...rtualBox on Ubuntu -Beginner-s Tutorial.md | 62 ++++++++++--------- 1 file changed, 34 insertions(+), 28 deletions(-) diff --git a/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md b/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md index e23d9c3f0e..91b7e5297b 100644 --- a/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md +++ b/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md @@ -1,18 +1,20 @@ [#]: collector: (lujun9972) [#]: translator: (beamrolling) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (How to Install VirtualBox on Ubuntu [Beginner’s Tutorial]) [#]: via: (https://itsfoss.com/install-virtualbox-ubuntu) [#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/) -如何在 Ubuntu 上安装 VirtualBox [新手教程] +如何在 Ubuntu 上安装 VirtualBox ====== -**本新手教程解释了在 Ubuntu 和其他基于 Debian 的 Linux 发行版上安装 VirtualBox 的各种方法。** +> 本新手教程解释了在 Ubuntu 和其他基于 Debian 的 Linux 发行版上安装 VirtualBox 的各种方法。 -Oracle 公司的免费开源产品 [VirtualBox][1] 是一款出色的虚拟化工具,专门用于桌面操作系统。和 [Linux 上的 VMWare Workstation][2] — 另一款虚拟化工具,相比起来,我更喜欢它。 +![](https://img.linux.net.cn/data/attachment/album/201908/30/072113uzitwinnt9betilt.jpg) + +Oracle 公司的自由开源产品 [VirtualBox][1] 是一款出色的虚拟化工具,专门用于桌面操作系统。与另一款虚拟化工具 [Linux 上的 VMWare Workstation][2] 相比起来,我更喜欢它。 你可以使用 VirtualBox 等虚拟化软件在虚拟机中安装和使用其他操作系统。 @@ -20,25 +22,29 @@ Oracle 公司的免费开源产品 [VirtualBox][1] 是一款出色的虚拟化 你也可以用 VirtualBox 在你当前的 Linux 系统中安装别的 Linux 发行版。事实上,这就是我用它的原因。如果我听说了一个不错的 Linux 发行版,我会在虚拟机上测试它,而不是安装在真实的系统上。当你想要在安装之前尝试一下别的发行版时,用虚拟机会很方便。 -![Linux installed inside Linux using VirtualBox][5]安装在 Ubuntu 18.04 内的 Ubuntu 18.10 +![Linux installed inside Linux using VirtualBox][5] + +*安装在 Ubuntu 18.04 内的 Ubuntu 18.10* 在本新手教程中,我将向你展示在 Ubuntu 和其他基于 Debian 的 Linux 发行版上安装 VirtualBox 的各种方法。 ### 在 Ubuntu 和基于 Debian 的 Linux 发行版上安装 VirtualBox -这里提出的安装方法也适用于其他基于 Debian 和 Ubuntu 的 Linux 发行版,如 Linux Mint,elementar OS 等。 +这里提出的安装方法也适用于其他基于 Debian 和 Ubuntu 的 Linux 发行版,如 Linux Mint、elementar OS 等。 #### 方法 1:从 Ubuntu 仓库安装 VirtualBox -**优点** : 安装简便 +**优点**:安装简便 -**缺点** : 下载旧版本 +**缺点**:较旧版本 在 Ubuntu 上下载 VirtualBox 最简单的方法可能是从软件中心查找并下载。 -![VirtualBox in Ubuntu Software Center][6]VirtualBox 在 Ubuntu 软件中心提供 +![VirtualBox in Ubuntu Software Center][6] -你也可以使用该条命令从命令行安装: +*VirtualBox 在 Ubuntu 软件中心提供* + +你也可以使用这条命令从命令行安装: ``` sudo apt install virtualbox @@ -50,27 +56,27 @@ sudo apt install virtualbox #### 方法 2:使用 Oracle 网站上的 Deb 文件安装 VirtualBox -**优点** : 容易安装最新版本 +**优点**:安装简便,最新版本 -**缺点** : 不能更新 +**缺点**:不能更新 如果你想要在 Ubuntu 上使用 VirtualBox 的最新版本,最简单的方法就是[使用 Deb 文件][9]。 -建议阅读[如何在 Ubuntu Linux 上下载 GNOME](https://itsfoss.com/fix-white-screen-login-arch-linux/great ) - -Oracle 为 VirtiualBox 版本提供了开箱可用的二进制文件。如果查看其下载页面,你将看到为 Ubuntu 和其他发行版下载 deb 安装程序的选项。 +Oracle 为 VirtiualBox 版本提供了开箱即用的二进制文件。如果查看其下载页面,你将看到为 Ubuntu 和其他发行版下载 deb 安装程序的选项。 ![VirtualBox Linux Download][10] 你只需要下载 deb 文件并双击它即可安装。就是这么简单。 +- [下载 virtualbox for Ubuntu](https://www.virtualbox.org/wiki/Linux_Downloads) + 然而,这种方法的问题在于你不能自动更新到最新的 VirtualBox 版本。唯一的办法是移除现有版本,下载最新版本并再次安装。不太方便,是吧? #### 方法 3:用 Oracle 的仓库安装 VirtualBox -**优点** : 自动更新 +**优点**:自动更新 -**缺点** : 安装略微复杂 +**缺点**:安装略微复杂 现在介绍的是命令行安装方法,它看起来可能比较复杂,但与前两种方法相比,它更具有优势。你将获得 VirtualBox 的最新版本,并且未来它还将自动更新到更新的版本。我想那就是你想要的。 @@ -82,13 +88,13 @@ Oracle 为 VirtiualBox 版本提供了开箱可用的二进制文件。如果查 wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - ``` -``` -Mint 用户请注意: +> Mint 用户请注意: -下一步只适用于 Ubuntu。如果你使用的是 Linux Mint 或其他基于 Ubuntu 的发行版,请将命令行中的 $(lsb_release -cs) 替换成你当前版本所基于的 Ubuntu 版本。例如,Linux Mint 19 系列用户应该使用 bionic,Mint 18 系列用户应该使用 xenial,像这样: +> 下一步只适用于 Ubuntu。如果你使用的是 Linux Mint 或其他基于 Ubuntu 的发行版,请将命令行中的 `$(lsb_release -cs)` 替换成你当前版本所基于的 Ubuntu 版本。例如,Linux Mint 19 系列用户应该使用 bionic,Mint 18 系列用户应该使用 xenial,像这样: -sudo add-apt-repository “deb [arch=amd64] **bionic** contrib“ -``` +> ``` +> sudo add-apt-repository “deb [arch=amd64] **bionic** contrib“` +> ``` 现在用以下命令来将 Oracle VirtualBox 仓库添加到仓库列表中: @@ -96,9 +102,9 @@ sudo add-apt-repository “deb [arch=amd64] Date: Fri, 30 Aug 2019 07:22:03 +0800 Subject: [PATCH 2/2] PUB @beamrolling https://linux.cn/article-11282-1.html --- ...ow to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {translated/tech => published}/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md (99%) diff --git a/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md b/published/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md similarity index 99% rename from translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md rename to published/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md index 91b7e5297b..8d83afa0dd 100644 --- a/translated/tech/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md +++ b/published/20190225 How to Install VirtualBox on Ubuntu -Beginner-s Tutorial.md @@ -1,8 +1,8 @@ [#]: collector: (lujun9972) [#]: translator: (beamrolling) [#]: reviewer: (wxy) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-11282-1.html) [#]: subject: (How to Install VirtualBox on Ubuntu [Beginner’s Tutorial]) [#]: via: (https://itsfoss.com/install-virtualbox-ubuntu) [#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)