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.
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.
- Ubuntu MATE : Ubuntu MATE is the only distribution which natively supports the Raspberry Pi with a complete desktop environment.
- Ubuntu Server 18.04 + Installing a desktop environment manually.
- 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.
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.
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 WiFi network and enter the password in the network connection screen.
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.