How to Install Ubuntu Desktop on Raspberry Pi 4

How to Install Ubuntu Desktop on Raspberry Pi 4
Introduction: This tutorial will tell you in detail how to install Ubuntu desktop on the Raspberry Pi 4 device.
Word count: 2884, Reading time: 4 minutes
https://linux.cn/article-13817-1.htmlAuthor: Avimanyu BandyopadhyayTranslator: Xingyu.Wang

The revolutionary Raspberry Pi is the most popular single-board computer. It has a Debian-based operating system called Raspberry Pi OS (formerly Raspbian).

There are several other operating systems available for Raspberry Pi, but almost all of them are lightweight, suitable for the small size and low-end hardware of the Raspberry Pi devices.

With the launch of the Raspberry Pi 4B, boasting 8GB of memory and support for 4K displays, the situation has changed. Its goal is to use the Raspberry Pi as a regular desktop, and it has succeeded to a greater extent.

Before the 4B model, you could install Ubuntu Server on Raspberry Pi, but the desktop version was not available. However, Ubuntu now provides an official desktop image for Raspberry Pi 4.

In this tutorial, I will demonstrate the steps to install Ubuntu desktop on Raspberry Pi 4.

First, let’s quickly review the running requirements.

How to Install Ubuntu Desktop on Raspberry Pi 4

Requirements to run Ubuntu on Raspberry Pi 4

How to Install Ubuntu Desktop on Raspberry Pi 4

Here’s what you need:

1. A Linux or Windows system that can connect to the internet.
2. Raspberry Pi Imager: The official open-source tool from Raspberry Pi to write distribution images to your SD card.
3. Micro SD card: A minimum of 16GB storage, 32GB version is recommended.
4. A USB-based Micro SD card reader (if your computer does not have a reader).
5. Essential accessories for Raspberry Pi 4, such as an HDMI-compatible monitor, Micro HDMI to Standard HDMI (A/M) cable, power supply (official adapter recommended), USB wired/wireless keyboard and mouse/touchpad.

It’s best to read the requirements for Raspberry Pi in detail beforehand.

Now, let’s quickly guide you through preparing the SD card image.

How to Install Ubuntu Desktop on Raspberry Pi 4

Preparing the Ubuntu desktop image for Raspberry Pi

Raspberry Pi provides a GUI application to write ISO images to the SD card. This tool can also automatically download compatible operating systems like Ubuntu, Raspberry Pi OS, etc.

How to Install Ubuntu Desktop on Raspberry Pi 4

Download and place the operating system onto the SD card using the official tool

You can download this tool for Ubuntu, Windows, and macOS from the official website:

Download Raspberry Pi Imager

On Ubuntu and other Linux distributions, you can also use Snap to install it:

sudo snap install rpi-imager

Once installed, run the tool. When you see the interface below, select “Choose OS”:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Choose your preferred operating system

Under “Operating System”, select “Other general purpose OS”:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Other general purpose OS

Now, select “Ubuntu”:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Distribution – Ubuntu

Next, select “Ubuntu Desktop 21.04 (RPI 4/400)” as shown below.

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Distribution – Ubuntu 21.04

Note:

If you do not have a stable internet connection, you can download the Raspberry Pi image of Ubuntu separately from the Ubuntu website. In the Imager, when choosing the operating system, select the “Use custom” option from the bottom. You can also use Etcher to write the image to the SD card.

Insert the Micro SD card into the reader and wait for it to mount. Select “Choose Storage” under “Storage”:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Choose storage device (SD card)

You should be able to identify your Micro SD card based on the storage capacity. Here, I am using a 32GB card:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Select SD card

Now click “Write”:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Writing image

If you have backed up the contents on the SD card or it is a new card, you can proceed directly:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Confirm writing image

Since this requires sudo permissions, you must enter the password. If you run sudo rpi-imager from the terminal, this will not occur:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Writing image requires password authorization

If your SD card is a bit old, this will take some time. If it is a new high-speed SD card, it won’t take long:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Writing image

To ensure the image is written successfully, I do not recommend skipping the verification:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Verify writing

After writing is complete, you will see the following confirmation prompt:

How to Install Ubuntu Desktop on Raspberry Pi 4

Imager: Write successful

Now, safely remove the SD card from your system.

How to Install Ubuntu Desktop on Raspberry Pi 4

Using the MicroSD card with Ubuntu on Raspberry Pi

You have already succeeded halfway. Unlike a regular Ubuntu installation, there is no need to create an impromptu installation environment. Ubuntu is already installed on the SD card and can almost be used directly. Let’s see what else remains.

How to Install Ubuntu Desktop on Raspberry Pi 4

Step 1: Insert the SD card into the Raspberry Pi

For first-time users, it can sometimes be a bit confusing not knowing where the card slot is? Don’t worry. It is located on the left side of the circuit board’s back. Here’s an inverted view after inserting the card.

How to Install Ubuntu Desktop on Raspberry Pi 4

Raspberry Pi 4B board inverted, inserting Micro SD card

Insert the card slowly into the slot at the bottom of the board in this direction, gently pushing until it no longer moves forward. You may also hear a slight click to confirm. This means it is perfectly inserted.

How to Install Ubuntu Desktop on Raspberry Pi 4

Raspberry Pi SD slot on the left side of the board

When you insert it, you may notice that two small pins in the slot adjust their position (as shown above), but that’s okay. Once inserted, the card will look a bit protruding. That’s how it should look.

How to Install Ubuntu Desktop on Raspberry Pi 4

Small portion visible when inserting Raspberry Pi SD card

How to Install Ubuntu Desktop on Raspberry Pi 4

Step 2: Set up the Raspberry Pi

I don’t need to elaborate on this.

Ensure that the power cable, micro HDMI cable, keyboard, and mouse (wired/wireless) are securely connected to the relevant ports on the Raspberry Pi board.

Make sure the monitor and power plug are also correctly connected before turning on the power outlet. I do not recommend plugging the adapter into a live socket. Refer to Electric Arc.

Once you have confirmed the above two steps, you can turn on the power to the Raspberry Pi device.

How to Install Ubuntu Desktop on Raspberry Pi 4

Step 3: First run of Ubuntu desktop on Raspberry Pi

When you turn on the power to the Raspberry Pi, you will need to perform some basic configuration during the first run. Just follow the on-screen instructions.

Select your language, keyboard layout, connect to WiFi, etc.:

How to Install Ubuntu Desktop on Raspberry Pi 4

Select Language

How to Install Ubuntu Desktop on Raspberry Pi 4

Select Keyboard Layout

How to Install Ubuntu Desktop on Raspberry Pi 4

Select WiFi

You can select the time zone as needed:

How to Install Ubuntu Desktop on Raspberry Pi 4

Select Time Zone

Then create a user and password:

How to Install Ubuntu Desktop on Raspberry Pi 4

Enter desired username and password

The subsequent steps will configure some things, this process takes some time:

How to Install Ubuntu Desktop on Raspberry Pi 4

Complete Ubuntu Setup

How to Install Ubuntu Desktop on Raspberry Pi 4

Complete Ubuntu Setup

The system will take some time before restarting, and eventually, you will arrive at the Ubuntu login screen:

How to Install Ubuntu Desktop on Raspberry Pi 4

Ubuntu Login Screen

Now, you can start enjoying the Ubuntu desktop on Raspberry Pi:

How to Install Ubuntu Desktop on Raspberry Pi 4

Ubuntu Desktop on Raspberry Pi

How to Install Ubuntu Desktop on Raspberry Pi 4

Conclusion

I noticed a temporary anomaly. During the installation, there was a red flickering border on the left side of my monitor. This flickering (which can also be of different colors) could also be noticed in random parts of the screen. But it disappeared after rebooting and the first startup.

It’s great to see it running on Raspberry Pi, and I really need Ubuntu to start supporting popular ARM devices like Raspberry Pi.

I hope this tutorial helps you. If you have any questions or suggestions, please let me know in the comments.

via: https://itsfoss.com/install-ubuntu-desktop-raspberry-pi/

Author: Avimanyu Bandyopadhyay Topic: lujun9972 Translator: wxy Proofreader: turbokernel

This article is originally compiled by LCTT, proudly presented by Linux China

How to Install Ubuntu Desktop on Raspberry Pi 4
Welcome to reprint in accordance with the CC-BY-NC-SA agreement,
If you need to reprint, please leave a message under the article “Reprint: Public Account Name”,
We will add you to the whitelist and authorize “Reprint articles can be modified”.
How to Install Ubuntu Desktop on Raspberry Pi 4

Leave a Comment