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.

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.

Download Ubuntu MATE for Raspberry Pi

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.

Suggested read Upgrading To Solid State Drive in Linux: The Easy Way and The Hard Way

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.

ubuntu-select-keyboard-layout
Select your keyboard layout
ubuntu-select-timezone
Select Your Timezone

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

Ubuntu-add-credentials
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.

ubuntu-MATE-desktpo

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.

ubuntu-software-updater

Once the updates are finished installing you are good to go. You can also go ahead and install Raspberry Pi specific packages for GPIO and other I/O depending on your needs.

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.

Source