Unity was the default desktop environment for Ubuntu from version 11.04 to 17.04. Although Ubuntu now uses GNOME, Unity is still maintained by the community and can be installed on modern Ubuntu versions. Unity provides a unique interface with a focus on simplicity and efficiency.
The ubuntu-unity-desktop package from the Ubuntu repositories adds Unity alongside the existing GNOME desktop rather than replacing it, so installed applications, files and settings stay in place and either session can be picked at the login screen. The package also pulls in the LightDM display manager, which takes over the login screen from GNOME's GDM when chosen as the default.
Ubuntu Unity, an official Ubuntu flavour since 22.10, ships Unity as the default desktop and suits a fresh installation. Adding the package to an existing system avoids reinstalling and keeps the GNOME session available as a fallback.
Steps to install Unity Desktop on Ubuntu:
- Launch the terminal.
- Update the package list.
$ sudo apt update Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-proposed InRelease Hit:3 http://us.ports.ubuntu.com/ubuntu-ports jammy InRelease Hit:4 http://us.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease Hit:5 http://us.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.
- Upgrade installed packages.
$ sudo apt dist-upgrade --assume-yes Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Install the ubuntu-unity-desktop package.
$ sudo apt install --assume-yes ubuntu-unity-desktop Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: a11y-profile-manager-indicator accountsservice-ubuntu-schemas activity-log-manager adium-theme-ubuntu bamfdaemon catdoc cinnamon-desktop-data cinnamon-l10n compiz compiz-core compiz-gnome ##### snipped 0 upgraded, 417 newly installed, 0 to remove and 0 not upgraded. Need to get 244 MB of archives. After this operation, 681 MB of additional disk space will be used. ##### snipped
- Choose LightDM when prompted.
Use [TAB] key to navigate to the Ok button and press [ENTER] to start configuring LightDM if you're first presented with the following screen.
You'll get this screen if you're using a low resolution monitor and/or not running terminal in full screen.
- Wait for the installation to complete.

- Reboot your system.
$ sudo reboot
- Click on the Ubuntu icon to reveal the desktop environment selection panel.

- Click on the Unity selection.

- Enter your password and log in to the Unity desktop.
