如何在Ubuntu上安装和配置GNOME桌面?

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-shellgdm3等。但是Ubuntu提供了ubuntu-gnome-desktop软件包作为完整的解决方案,它将所有必需的组件作为单个命令或软件包组安装。 我们将使用apt命令安装它,但是apt-get也可以与同一命令一起使用。 我们还将提供用于提供管理特权的sudo

$ sudo apt install ubuntu-gnome-desktop
Install Complete Gnome Desktop 
Install Complete Gnome Desktop 
安装完整的Gnome桌面

通过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
Install via Tasksel
Install via Tasksel
通过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如下所示。 然后,我们可以通过提供用户密码登录。

Change Desktop Environment To GNOME
Change Desktop Environment To GNOME
将桌面环境更改为GNOME

We will see the main desktop like below.

我们将看到如下所示的主桌面。

Ubuntu GNOME Desktop
Ubuntu GNOME桌面

检查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

Check Gnome Version
Check Gnome Version
检查Gnome版本
LEARN MORE  Linux vs Unix
了解更多Linux vs Unix

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

Ubuntu服务器中配置GNOME桌面环境,主要涉及选择合适版本的Ubuntu Server,安装必要的软件包,并进行适当的配置优化。首先,选择一个支持桌面环境的Ubuntu Server版本,推荐使用最新LTS版本以获得长期支持稳定性。接下来,执行安装命令来安装GNOME桌面环境及相关组件。安装完成后,需要对系统进行一些定制,例如设置分辨率、选择默认启动器、安装常用的桌面应用等,来适应服务器操作的特定需求。重要的是,为了保持服务器的性能安全,应禁用不必要的启动项服务,并确保安装最新的安全更新补丁。安装完成后,你将能够在Ubuntu服务器上享受到GNOME带来的高效、友好的用户交互体验。这不仅提升了服务器操作的便捷性,也使得远程管理成为可能。通过实践这些建议,可以更好地掌握Ubuntu服务器环境下的GNOME桌面配置方法。为了深入学习Ubuntu服务器的高级配置管理技术,建议参考以下资源:《Ubuntu Linux服务器配置:释放'仁爱'精神的自由软件教程》。这本教程详细介绍了Ubuntu服务器的各项特性及配置方法,同时融入了Ubuntu背后的文化价值,让学习者在技术提升的同时,也能体验到自由软件的精神文化。 参考资源链接:[Ubuntu Linux服务器配置:释放'仁爱'精神的自由软件教程](https://wenku.csdn.net/doc/2doqxm4h65?spm=1055.2569.3001.10343)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值