ubuntu 安装GUI

Posted David Cao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu 安装GUI相关的知识,希望对你有一定的参考价值。

GUI Installation on Ubuntu Server 20.04

  1. Update the apt package index and install tasksel.
$ sudo apt update
$ sudo apt install tasksel
  1. List the GUI we have installed and we can install:
$ 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.
$ sudo tasksel install ubuntu-desktop
  1. Run the following command to make sure our system boots into the graphical target after reboot
$ sudo systemctl set-default graphical.target
  1. Run command sudo reboot to reboot. At this point, the GUI should start.
$sudo reboot

文章来自:Install GUI on Ubuntu 20.04 Quick Guide
https://www.howtouselinux.com/post/install-gui-on-ubuntu-20-04-quick-guide

以上是关于ubuntu 安装GUI的主要内容,如果未能解决你的问题,请参考以下文章

在 Ubuntu 上使用 GUI 安装 OpenCV

Ubuntu安装桌面环境GUI

Ubuntu 16.04安装Git及GUI客户端

jd-gui在Ubuntu上打不开

Win11使用WSL2安装Ubuntu22.04并启用GUI应用

如何在 Docker 映像中打开 Ubuntu GUI