Home Alpine Linux How to Install MATE Desktop on Alpine Linux

How to Install MATE Desktop on Alpine Linux

MATE is an open-source desktop environment that takes over from GNOME 2. It provides users a neat, intuitive, and appealing desktop environment to seamlessly interact with the operating system. MATE is supported by a vast majority of Linux distributions including Debian, Ubuntu, Fedora, OpenSUSE, ArchLinux, and Alpine Linux to mention a few.

In this guide, we illustrate how you can install MATE Desktop on Alpine Linux.

Installing MATE Desktop on Alpine Linux

To start off, refresh the repositories using the following apk command as follows:

$ apk update

In the next step, install the Xorg display server by running the setup-xorg-base stand-alone script.

$ setup-xorg-base

The script configures a graphical environment and installs a host of packages as seen from the output.

Install Xorg in Alpine Linux
Install Xorg in Alpine Linux

With the Xorg display server installed, proceed and install the MATE desktop environment, dbus protocol, and LXDM which is a lightweight display manager.

$ apk add mate-desktop-environment dbus dbus-x11 lxdm adwaita-icon-theme faenza-icon-theme
Install Mate in Alpine Linux
Install Mate in Alpine Linux

Then run the following commands in succession.

# gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc')
# apk add $gvfs_pkgs

For better user experience, consider installing True Type Fonts using the following commands.

# ttfs=$(apk search -q ttf- | grep -v '\-doc')
# apk add $ttfs

The final step is to enable and start the services we have just installed. Therefore, enable the dbus and lxdm services so that they can start on boot as shown.

# rc-update add dbus
# rc-update add lxdm

Then start the services in the following order.

# rc-service dbus start
# rc-service lxdm start

Once the LXDM manager is started, the MATE Desktop will appear as seen below.

Mate Desktop Login
Mate Desktop Login

From here, you can log in and start enjoying the newly installed MATE environment on Alpine Linux.

Running Mate in Alpine Linux
Running Mate in Alpine Linux

That is all about this guide. In this brief tutorial, we have demonstrated how to install the MATE desktop environment on Alpine Linux.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.