Ubuntu team announced the release of the first short-term installment – Ubuntu 21.04 Hirsute Hippo. And it is immediately available for download including its official flavors. And in today’s article, we are gonna Install GUI on Ubuntu Server 21.04 using Tasksel

This is a short-term release and a stepping stone for the next release. The usual Kernel updates, latest packages, and minor tweaks here and there are the most you can get.

If you haven’t read the Previous Article (How to Install Ubuntu 21.04 using VMware Workstation) and yet to install your Ubuntu 21.04 VM, it’s best to go through that article and come back.

Once you are ready, let’s jump right in and install the GUI

Install GUI on Ubuntu Server 21.04 using Tasksel:

Install GUI on Ubuntu Server

Login with an administrator account

Install GUI on Ubuntu Server
sudo apt-get install tasksel

Did you get any error [E: dpkg was interrupted]?

Enter Y to continue

Install Lightdm:

Install GUI on Ubuntu Server
sudo apt-get install lightdm

Did you get any error [E: Unable to Fetch some archives]?

Enter Y to continue

Run Tasksel to Install GUI on Ubuntu Server :

tasksel
Install GUI on Ubuntu Server

Hit Space and select Ubuntu Desktop

Then, hit Tab and click OK

Did you get any error [Permission denied tasksel: debconf failed to run]?

Install GUI on Ubuntu Server

The installation has started, this might take a while

Did you get any error [tasksel: apt-get failed (100)]?

Reboot:

Once the installation is completed you must run the following code to reboot the Ubuntu 21.04 Server.

Install GUI on Ubuntu Server
sudo reboot

After the VM reboots, you must see the Ubuntu 21.04 GUI

Install GUI on Ubuntu Server

Errors when you Install GUI on Ubuntu Server :

I have listed some of the Errors you might have encountered while installing the GUI and their Solutions. Hope it helps.

E: dpkg was interrupted:

This error happens while installing tasksel. Run the below code to move on.

sudo dpkg --configure -a
sudo apt-get install tasksel

E: Unable to Fetch some archives:

This error happens while installing Lightdm. Be sure to run the following code to Fix it.

sudo apt-get update
sudo apt-get install lightdm

Permission denied tasksel: debconf failed to run

You might get this error while running tasksel. The solution is to run it as sudo tasksel

sudo tasksel

Tasksel: apt-get failed (100):

You might get this while selecting Ubuntu Desktop in tasksel. We have 2 Solutions for this. You can run any 1 of the listed codes to continue the installation.

sudo apt-get update

or

sudo dpkg --configure -a

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *