Installing Ubuntu MATE on a Raspberry Pi

Brief: This quick tutorial shows you how to install Ubuntu MATE on Raspberry Pi devices.

Raspberry Pi is by far the most popular SBC (Single Board Computer) and the go-to board for makers. Raspbian which is based on Debian is the official operating system for the Pi. It is lightweight, comes bundled with educational tools and gets the job done for most scenarios.

Installing Raspbian is easy as well but the problem with Debian is its slow upgrade cycles and older packages.

There is a huge list of Raspberry Pi OS and Ubuntu is one of them. Running Ubuntu on the Raspberry Pi gives you a richer experience and up to date software. We have a few options when it comes to running Ubuntu on your Pi.

  1. Ubuntu MATE : Ubuntu MATE is the only distribution which natively supports the Raspberry Pi with a complete desktop environment.
  2. Ubuntu Server 18.04 + Installing a desktop environment manually.
  3. Using Images built by the Ubuntu Pi Flavor Maker community, these images only support the Raspberry Pi 2B and 3B variants and are not updated to the latest LTS release.

The first option is the easiest and the quickest to set up while the second option gives you the freedom to install the desktop environment of your choice. I recommend going with either of the first two options.

Here are the links to download the Disc Images. In this article I’ll be covering Ubuntu MATE installation only.

Installing Ubuntu MATE on Raspberry Pi

Go to the download page of Ubuntu MATE and get the recommended images.

Ubuntu MATE on Raspberry PI Download Image

The experimental ARM64 version should only be used if you need to run 64-bit only applications like MongoDB on a Raspberry Pi server.

Step 1: Setting Up the SD Card

The image file needs to be decompressed once downloaded. You can simply right click on it to extract it.

Alternatively, the following command will do the job.

xz -d ubuntu-mate***.img.xz

Alternatively you can use 7-zip if you are on Windows.

Install Balena Etcher, we’ll use this tool to write the image to the SD card. Make sure that your SD card is at least 8 GB capacity.

Launch Etcher and select the image file and your SD card.

burn Ubuntu MATE ISO

Once the flashing process is complete the SD card is ready.

Step 2: Setting Up the Raspberry Pi

You probably already know that you need a few things to get started with Raspberry Pi such as a mouse, keyboard, HDMI cable etc. You can also install Raspberry Pi headlessly without keyboard and mouse but this tutorial is not about that.

  • Plug in a mouse and a keyboard.
  • Connect the HDMI cable.
  • Insert the SD card into the SD card slot.

Power it on by plugging in the power cable. Make sure you have a good power supply (5V, 3A minimum). A bad power supply can reduce the performance.

Ubuntu MATE installation

Once you power on the Raspberry Pi, you’ll be greeted with a very familiar Ubuntu installation process. The process is pretty much straight forward from here.

Select your keyboard layout
Select Your Timezone

Select your WiFi network and enter the password in the network connection screen.

Add Username and Password

After setting the keyboard layout, timezone and user credentials you’ll be taken to the login screen after a few minutes. And voila! you are almost done.


Once logged in, the first thing you should do is to update Ubuntu. You can use the command line for that.

sudo apt update
sudo apt upgrade

You can also use the Software Updater.


Once the updates are finished installing you are good to go. You can now go ahead and create some awesome Raspberry Pi project.

What made you think about installing Ubuntu on the Raspberry and how has your experience been with Raspbian? Let me know in the comments below.

Similar Posts

  • The current versions don’t support USB boot on Pi 3b? Any way to build an image that does? The Pi Imager “Ubuntu Desktop 21.04 (RPi 4/400)” will boot but to slow to be usable. Am I stuck with Ubuntu vs Mate? Or do I need to use the focal/groovy image vs the core one? Or is the problem the Raspberry Pi Imager & I need to use something else?

    • I was experiencing the same slowdown issues with my Pi 4b like you have shared. Found out that it was because I had set up Ubuntu on a very old Micro SD. Tried a new card that I recently got, and the issue went away. It was apparently because of the slow write speeds on my old card.

    • Jeff i’m trying to find a way to get it running in an external ssd, but i dunno if it is possible, i’m a newbie at the subject and i can’t find a good tutorial for it :(