Privileged access to your Linux system as root or via the sudo command.
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user
Ubuntu 20.04 GUI installation step by step instructions
First step is to updated the apt package index and install tasksel. To do so execute the following Linux commands:
$ sudo apt update
$ sudo apt install tasksel
SUBSCRIBE TO NEWSLETTER Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
Next, select the GUI you wish to install. Below table shows main desktop environments available for installation via tasksel:
Main available Graphical User Interfaces (GUI) installations using tasksel's tasks
Kubuntu desktop ( KDE Desktop )
Lubuntu Desktop ( LXQt desktop )
Ubuntu Budgie desktop
Ubuntu desktop ( default GNOME )
Ubuntu minimal desktop ( default GNOME )
Ubuntu MATE desktop
Ubuntu Studio desktop ( Xfce-based desktop )
Ubuntu Studio minimal DE installation ( Xfce-based desktop )
Xubuntu desktop ( Xfce desktop )
For additional GUI selection execute the below command:
$ tasksel --list-tasks
At this point you have selected GUI you wish to install and took a note of the relevant task name.
Next, use tasksel command to install your selected GUI. For example to install the default Ubuntu GNOME desktop execute:
$ sudo tasksel install ubuntu-desktop
Reboot your system:
At this point the GUI should start. You may need to select your desired desktop flavor on the login page before you login.
In case the GUI is not starting at all, make sure your system boots into the graphical target. To do so execute: