install gui in ubuntu server code example
Example 1: install gui in command line linux
sudo apt-get install ubuntu-desktop
Example 2: install gui on ubuntu server
You can install. By default, Ubuntu Server does not include a Graphical User Interface (GUI). A GUI takes up system resources (memory and processor) that are used for server tasks. However, certain tasks and applications are manageable and work better in a GUI environment