Ubuntu is the most popular Linux distribution where GNOME is another popular Linux Desktop Environment. Ubuntu has switched to the Unity desktop a long time ago and recently it is returned into the GNOME desktop. In this tutorial, we will install GNOME Desktop into the Ubuntu distribution.
Ubuntu是最流行Linux发行版,而GNOME是另一个流行Linux桌面环境。 Ubuntu很久以前就已切换到Unity桌面,最近又返回到GNOME桌面。 在本教程中,我们将GNOME Desktop安装到Ubuntu发行版中。
安装完整的Gnome桌面 (Install Complete Gnome Desktop)
Gnome Desktop Environment consists of multiple components. These components are gnome-shell
, gdm3
etc. But Ubuntu provides the ubuntu-gnome-desktop
package as a complete solution that will install all required components as a single command or package group. We will install it with apt
command but apt-get
can be also used with the same command. We will also provide the sudo
which is used to provide administrative privileges.
Gnome桌面环境由多个组件组成。 这些组件是gnome-shell
, gdm3
等。但是Ubuntu提供了ubuntu-gnome-desktop
软件包作为完整的解决方案,它将所有必需的组件作为单个命令或软件包组安装。 我们将使用apt
命令安装它,但是apt-get
也可以与同一命令一起使用。 我们还将提供用于提供管理特权的sudo
。
$ sudo apt install ubuntu-gnome-desktop

通过Tasksel安装(Install via Tasksel)
Tasksel is command-line based GUI tool to manage packages and package groups. We can install GNOME from the tasksel
like below. We will provide the root privileges with sudo command. Tasksel will list currently available packages that can be installed or already installed. We can install the GNOME desktop with the name of Ubuntu Desktop
like below.
Tasksel是基于命令行的GUI工具,用于管理软件包和软件包组。 我们可以从下面的tasksel
安装GNOME。 我们将使用sudo命令提供root特权。 Tasksel将列出可以安装或已经安装的当前可用软件包。 我们可以使用如下所示的Ubuntu Desktop
名称来安装GNOME桌面。
$ sudo tasksel

将默认桌面环境更改为GNOME(Change Default Desktop Environment To GNOME)
We can change the default desktop to the GNOME from the login screen like below. The screen may be different for different cases but in general, the selected user desktop environment can be changed from a configuration button into the GNOME
like below. Then we can sign in by providing the user password.
我们可以从登录屏幕将默认桌面更改为GNOME,如下所示。 在不同情况下,屏幕可能会有所不同,但是通常,可以将所选用户桌面环境从配置按钮更改为GNOME
如下所示。 然后,我们可以通过提供用户密码登录。

We will see the main desktop like below.
我们将看到如下所示的主桌面。

检查GNOME版本(Check GNOME Version)
We can check the GNOME version in different ways. We can check the GNOME version via the command line with the gnome-shell
command with the --version
option.
我们可以用不同的方式检查GNOME版本。 我们可以使用带有--version
选项的gnome-shell
命令通过命令行检查GNOME版本。
$ gnome-shell --version
OR via Settings
->Details
.
或通过Settings
-> Details
。

翻译自: https://www.poftut.com/how-to-install-and-configure-gnome-desktop-on-ubuntu/