Ubuntu如何安装GUI

2021-09-13 11:04:47 浏览数 (1)

GUI Installation on Ubuntu Server 20.04

  1. Update the apt package index and install tasksel.
代码语言:txt复制
$ sudo apt update
$ sudo apt install tasksel
  1. List the GUI we have installed and we can install:
代码语言:txt复制
$ sudo tasksel --list-tasks

Main available Graphical User Interfaces (GUI) installations using tasksel's tasks

Task Description

kubuntu-desktop Kubuntu desktop ( KDE Desktop )

lubuntu-desktop Lubuntu Desktop ( LXQt desktop )

ubuntu-budgie-desktop Ubuntu Budgie desktop

ubuntu-desktop Ubuntu desktop ( default GNOME )

ubuntu-desktop-minimal Ubuntu minimal desktop ( default GNOME )

ubuntu-mate-desktop Ubuntu MATE desktop

ubuntustudio-desktop Ubuntu Studio desktop ( Xfce-based desktop )

ubuntustudio-desktop-core Ubuntu Studio minimal DE installation ( Xfce-based desktop )

xubuntu-desktop Xubuntu desktop ( Xfce desktop )

  1. Use tasksel command to install the selected GUI. For example to install the default Ubuntu GNOME desktop execute. This step will install all the files and take some time to finish.
代码语言:txt复制
$ sudo tasksel install ubuntu-desktop
  1. Run the following command to make sure our system boots into the graphical target after reboot
代码语言:txt复制
$ sudo systemctl set-default graphical.target
  1. Run command sudo reboot to reboot. At this point, the GUI should start.
代码语言:txt复制
$sudo reboot

文章来自:Install GUI on Ubuntu 20.04 Quick Guide

https://www.howtouselinux.com/post/install-gui-on-ubuntu-20-04-quick-guide

0 人点赞