How to Install Unity Desktop Environment on Arch Linux

This article will show you how to install the latest stable 7.6 version of the Unity desktop environment on your Arch Linux system.

Unity is a graphical shell for the GNOME desktop environment designed and maintained by Canonical for Ubuntu. It was beautiful and innovative, but unfortunately, Canonical discontinued its support in 2017.

However, six years later, Rudra Saraswat, a Linux Foundation Certified Developer, has resumed its development and support in the Ubuntu Unity flavor, which is now an official member of the Ubuntu family.

Arch Linux is the first distribution outside of Ubuntu to receive an official port of the Unity desktop environment. Installation is quick and simple, so let me show you how to install Unity on Arch in a few simple steps.

1. Add Unity Repository Key

The first step is to add to our Arch system the signing key for the repository containing the Unity packages for Arch, as it does not belong to the official ones maintained by the Arch developers.

Instead, it is a custom repo created and currently maintained by Rudra Saraswat.

curl https://unity.ruds.io/repo.key | sudo pacman-key --add -
sudo pacman-key --lsign-key 3FB6809130A5DB7FCode language: JavaScript (javascript)
Add Unity repository key

2. Modify pacman.conf

The next step is to add the Unity repository to our Arch system’s list of repositories, which will make the installation packages available.

To do this, we need to modify the pacman.conf file. So, open it with your favorite text editor and add the following section right above the [community] part.

sudo vim /etc/pacman.conf
[arch-unity]
SigLevel = Required DatabaseOptional
Server = https://unity.ruds.io/arch-unityCode language: JavaScript (javascript)
Adding the Unity repo to pacman.conf

Then, save and exit the file.

Important! The order of repositories in the pacman.conf file matters! So make sure that you put the Unity repo precisely as shown above. Repositories listed first will precede those listed later when packages in two repositories have identical names, which is the case with some packages in Unity.

Otherwise, even if you install all of the packages successfully, your desktop environment will likely not operate after the reboot.

3. Install Unity on Arch Linux

First, you need to update your package base. As passing two “yy” arguments to the pacman command, all package lists will be refreshed, even if they appear to be up to date.

sudo pacman -Syyu
Refreshing Arch's package base

As you can see, the Unity repository is now synchronized with our Arch system. In addition, if you want to learn more about using the Pacman package manager, check out our guide.

Finally, let’s install the Unity desktop environment on our Arch Linux system.

sudo pacman -S unity-meta
Installing Unity desktop environment on Arch Linux

4. Switch to LightDM

Because the Unity desktop environment uses its own modified version of LightDM as its display manager, we must enable it to start automatically when the system boots.

sudo systemctl enable --now lightdm
Enable LightDM display manager

It is critical to note that if you are already using other display managers such as GDM, LXDM, SDDM, and so on, you must disable them first by running “systemctl disable <display-manager-name>”; else, the above command will generate an error message.

5. Reboot and Enjoy Unity on Arch

You can now restart your Arch system. LightDM should greet you.

LighDM Greeter
LightDM Unity Greeter

All that remains is to log in with your user account and enjoy the Unity desktop environment, which will likely bring back memories for some Linux users.

Unity desktop environment runs on Arch Linux
Unity desktop environment runs on Arch Linux

Conclusion

This guide shows how to install Unity on Arch Linux. Although devs could improve a few aspects of the desktop environment, specifically with more attention to detail, the work done by the main maintainer, Rudra Saraswat, is remarkable and deserves our full respect and admiration.

The individual components inside it operate quickly and smoothly, and we discovered no significant issues during our testing. You can learn more about the Unity desktop environment by visiting its maintainer’s website.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%