
The Raspberry Pi is currently the most popular single-board computer and is the preferred board for makers. Raspbian is the official operating system for Raspberry Pi based on Debian. It is lightweight and comes with educational tools and tools that can work in most scenarios.
Installing Raspbian is equally simple, but the issue that comes along with Debian is the slow upgrade cycle and outdated packages.
Running Ubuntu on your Raspberry Pi can give you a richer experience and the latest software. When running Ubuntu on your Raspberry Pi, we have several options.
The first choice is the easiest and fastest to install, while the second option gives you the freedom to choose the desktop environment you want to install. I recommend choosing either of the first two.
Here are some disk image download links. In this article, I will only mention the installation of Ubuntu MATE.
Installing Ubuntu MATE on Raspberry Pi
Go to the Ubuntu MATE download page to get the recommended image.
The experimental ARM64 version should only be used when you need to run 64-bit applications like MongoDB on your Raspberry Pi server.
Step 1: Set up the SD card
Once the image file is downloaded, it needs to be extracted. You can simply right-click to extract it.
You can also use the command below to do the same.
xz -d ubuntu-mate***.img.xz
If you are on Windows, you can use 7-zip instead.
Install Balena Etcher, we will use this tool to write the image to the SD card. Make sure your SD card has at least 8 GB of capacity.
Launch Etcher, select the image file and the SD card.
Once the progress is complete, the SD card is ready.
Step 2: Set up the Raspberry Pi
You may already know that you need some peripherals to use the Raspberry Pi, such as a mouse, keyboard, HDMI cable, etc. You can also install the Raspberry Pi without a keyboard and mouse, but this guide is not about that.
Insert the power cable to power it up. Make sure you have a good power supply (5V, at least 3A). A poor power supply may reduce performance.
Installing Ubuntu MATE
Once you power the Raspberry Pi, you will encounter a very familiar Ubuntu installation process. The installation process here is quite straightforward.
Select your keyboard layout
Select your timezone
Select your WiFi network and enter the password in the network connection.
Add username and password
After setting the keyboard layout, timezone, and user credentials, you will be taken to the login screen in a few minutes. Look! You are almost done.
Once logged in, the first thing you should do is update Ubuntu. You should use the following commands.
sudo apt update
sudo apt upgrade
You can also use the software updater.
Once the update is complete, you can start your installation. You can continue to install specific packages prepared for the Raspberry Pi platform for GPIO and other I/O as needed.
What made you consider installing Ubuntu on Raspberry Pi, and how was your experience with Raspbian? Please let me know in the comments below.
via: https://itsfoss.com/ubuntu-mate-raspberry-pi/
Author: Chinmay Edited by: lujun9972 Translator: warmfrog Proofreader: wxy
This article is originally compiled by LCTT, proudly presented by Linux China.