---
title: "How to Install Ubuntu on Raspberry Pi"
description: "Discover the many ways how to use Ubuntu on Raspberry PI and unlock a world of possibilities in this ATA Learning tutorial!"
canonical: "https://adamtheautomator.com/ubuntu-on-raspberry-pi/"
---

# How to Install Ubuntu on Raspberry Pi

> Discover the many ways how to use Ubuntu on Raspberry PI and unlock a world of possibilities in this ATA Learning tutorial!

Source: https://adamtheautomator.com/ubuntu-on-raspberry-pi/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![How to Install Ubuntu on Raspberry Pi](https://adamtheautomator.com/wp-content/uploads/2023/01/ubuntu-on-raspberry-pi.jpg)

# How to Install Ubuntu on Raspberry Pi

[![](https://secure.gravatar.com/avatar/2788bb1a3f735603f81eca51d68daec56a9d97e805a10268fb2c20afcc76b81b?s=192&d=mm&r=g)Nicholas Xuan Nguyen](https://adamtheautomator.com/author/nicholas-xuan-nguyen/)18 January 20235 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[Ubuntu Linux](/tag/ubuntu-linux/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Downloading the Ubuntu OS Image](#downloading-the-ubuntu-os-image)
*   [Flashing the Ubuntu Image Onto the SD Card](#flashing-the-ubuntu-image-onto-the-sd-card)
*   [Installing Ubuntu on Raspberry Pi](#installing-ubuntu-on-raspberry-pi)
*   [Conclusion](#conclusion)

Tired of the limitations of your current Raspberry Pi OS installation? Upgrade to the versatility and power of Ubuntu on Raspberry Pi!

In this tutorial, you will learn to install Ubuntu on your Raspberry Pi, unlocking a world of possibilities for your projects. Do not let your Pi hold you back any longer.

Read on and take advantage of the full capabilities of this fantastic platform with Ubuntu!

## Prerequisites

Before you get started with this tutorial, make sure you have the following in place:

*   A Raspberry Pi model 3B or higher – This tutorial uses Raspberry Pi model 4B.
*   An SD card (9GB or larger) to install Ubuntu onto.
*   A system (a computer, laptop, or mobile device) with an SD card reader to flash the image onto the SD card – This tutorial uses a Windows 10 laptop.
*   A [Raspberry Pi Imager](https://www.raspberrypi.com/software/) installed on your system – This tutorial uses [Raspberry Pi](https://adamtheautomator.com/raspberry-pi-imager-for-windows/) Imager version 1.7.3.

Related:[Getting Started With the Raspberry Pi Imager for Windows](https://adamtheautomator.com/raspberry-pi-imager-for-windows/)

*   A card reader, a display, a power source, an HDMI cable, a keyboard, and a mouse.

## Downloading the Ubuntu OS Image

Since you will be installing Ubuntu on your Raspberry Pi, you first need an Ubuntu OS image handy. You must download the official Ubuntu OS image, specifically the latest version of Ubuntu Desktop, which is version 22.10. This version is officially supported on the Raspberry Pi.

The official Ubuntu OS image comes with many pre-installed packages and tools that are useful for working with the Raspberry Pi, like Pi’s hardware and peripherals. This feature ensures you have a stable and reliable operating system once installed.

To download the official Ubuntu OS image, follow these steps:

1\. Open your favorite web browser, and visit [Ubuntu’s OS image](https://ubuntu.com/download/raspberry-pi) download page.

2\. Next, click **Download 64-bit** under **Ubuntu Desktop 22.10** to download the OS image.

![ubuntu on raspberry pi - Downloading the Ubuntu OS image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-241.png)

Downloading the Ubuntu OS image

3\. Once downloaded, open a [Git Bash](https://git-scm.com/downloads) terminal in the same folder as the downloaded image file.

Related:[How to Get Started with Git Bash on Windows](https://adamtheautomator.com/git-bash/)

4\. Now, run the `echo` command below to verify the integrity of the downloaded file by checking its checksum.

When you download a file, there is always a risk that the file may be corrupted or modified during the download process, either intentionally or accidentally. This command ensures that the file was not corrupted or tampered with during the download process.

```bash
echo "c9cf57399a5e3e3a9803740f8107ef52891b7d3ac293106d3257396b75ddf7de *ubuntu-22.10-preinstalled-desktop-arm64+raspi.img.xz" | shasum -a 256 --check
```

If the checksums match, you will see an **OK** response, as shown below, which indicates the file is safe to use.

![Verifying the integrity of the Ubuntu image file](https://adamtheautomator.com/wp-content/uploads/2023/01/image-242.png)

Verifying the integrity of the Ubuntu image file

## Flashing the Ubuntu Image Onto the SD Card

When installing an OS, you cannot simply copy the installation files to the device. Instead, you need to write the installation files in a particular way the device can recognize and use to boot up the OS — flashing.

Flashing allows you to create a bootable installation media necessary for installing the OS on a device. But first, back up any data from your SD card before as flashing erases all existing data on the SD card.

To flash an Ubuntu OS image onto your SD card, follow the steps below:

1\. Plug the SD card into your Windows system using the card reader.

2\. Open the Raspberry Pi Imager tool on your system, and select **CHOOSE OS**.

![Initiating choosing an OS](https://adamtheautomator.com/wp-content/uploads/2023/01/image-243.png)

Initiating choosing an OS

3\. On the **Operating System** window, click the **Use** **custom** option, which allows you to select the Ubuntu image file you downloaded earlier.

![Choosing to use a custom Ubuntu image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-244.png)

Choosing to use a custom Ubuntu image

4\. Now, select the Ubuntu image file, and click **Open** to select it.

![Selecting an Ubuntu image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-245.png)

Selecting an Ubuntu image

5\. Once selected, click **CHOOSE STORAGE** to choose the destination to write the image onto.

![Initiating choosing storage to write an image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-246.png)

Initiating choosing storage to write an image

6\. Choose your SD card as the destination storage to write the Ubuntu image.

![Choosing the storage to write the Ubuntu image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-247.png)

Choosing the storage to write the Ubuntu image

7\. Click **Write** to start flashing the Ubuntu OS image onto your SD card.

![Writing the Ubuntu OS image onto the SD card](https://adamtheautomator.com/wp-content/uploads/2023/01/image-248.png)

Writing the Ubuntu OS image onto the SD card

8\. When prompted, click **Yes** to confirm writing the image.

![Confirming writing the Ubuntu image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-249.png)

Confirming writing the Ubuntu image

9\. Finally, click **Continue** and remove your SD card from the Windows computer.

Congratulations! You have now successfully flashed Ubuntu onto your Raspberry Pi!

![Finishing flashing the Ubuntu image](https://adamtheautomator.com/wp-content/uploads/2023/01/image-250.png)

Finishing flashing the Ubuntu image

## Installing Ubuntu on Raspberry Pi

With the Ubuntu image successfully written onto your SD card, it is time to test the installed image. You will boot up and access your Ubuntu system in your Raspberry Pi.

1\. Insert your SD card into your Raspberry Pi.

2\. Connect your Raspberry Pi to a power source, such as a charger or a USB port on your computer.

3\. Connect your Raspberry Pi to a display via an HDMI cable, then your keyboard and mouse to your Raspberry Pi via USB ports.

4\. Now, turn on your display, and the Raspberry Pi should automatically boot up with Ubuntu.

Mind that the first time you boot up your Raspberry Pi with the Ubuntu image, the OS may take a few minutes to set itself up fully.

After booting up, you will see a screen similar to the one below with options to select a language.

5\. Select your preferred language on the System Configuration window, and click **Continue**.

![Choosing the preferred language](https://adamtheautomator.com/wp-content/uploads/2023/01/image-251.png)

Choosing the preferred language

6\. Next, select a keyboard layout that matches your physical keyboard, and click **Continue**. The system will use the keyboard layout you have chosen to interpret your input as you type.

![Selecting a keyboard layout](https://adamtheautomator.com/wp-content/uploads/2023/01/image-252.png)

Selecting a keyboard layout

7\. Select the name of the Wi-Fi or Ethernet network to connect your system to from the list of available networks, provide the password, and click **Continue**.

![Connecting to a network](https://adamtheautomator.com/wp-content/uploads/2023/01/image-253.png)

Connecting to a network

8\. Select the region you are in or that is closest to your location and click **Continue**.

The system will use the selected region to set the correct time zone and other regional settings. You can always change the region settings later on.

![Selecting a region](https://adamtheautomator.com/wp-content/uploads/2023/01/image-254.png)

Selecting a region

9\. Provide your user account information (with a strong password), and click **Continue**.

Related:[Stop the Confusion: Keep End Users Secure with Strong Passwords](https://adamtheautomator.com/strong-passwords/)

![Setting up the user account ](https://adamtheautomator.com/wp-content/uploads/2023/01/image-255.png)

Setting up the user account

After filling up the user account information, the Ubuntu installation process will continue, which may take a few minutes to finish.

![Waiting for the Ubuntu installation to finish ](https://adamtheautomator.com/wp-content/uploads/2023/01/image-256.png)

Waiting for the Ubuntu installation to finish

Once installed, you will be presented with the Ubuntu desktop, as shown below.

![Viewing the newly-installed Ubuntu desktop](https://adamtheautomator.com/wp-content/uploads/2023/01/image-257.png)

Viewing the newly-installed Ubuntu desktop

10\. Finally, open the terminal, and run the below [`apt update`](https://linuxize.com/post/how-to-use-apt-command/#updating-package-index-apt-update) command to update the system packages.

Updating the list of available packages on your Ubuntu system after installation is always a good idea. Doing so ensures you get the latest versions of software and security updates.

```bash
sudo apt update -y
```

![Updating the system packages ](https://adamtheautomator.com/wp-content/uploads/2023/01/image-258.png)

Updating the system packages

Related:[Learning Ubuntu Apt Get Through Examples](https://adamtheautomator.com/ubuntu-apt-get/)

## Conclusion

Sticking with the OS you are used to is fine and all. But having an alternative is a good thing, especially if it is Ubuntu on Raspberry Pi. And in this tutorial, you have learned to successfully install Ubuntu on Raspberry Pi by flashing an Ubuntu image.

Now, why not make Raspberry Pi your own and customize it to your liking? Perhaps try [installing Oh My Zsh](https://ohmyz.sh/), a popular custom command-line terminal prompt for Ubuntu? Customize your terminal, make it more user-friendly, and take advantage of many features and plugins!

Related:[Install Oh My Zsh on Ubuntu for a Next-Level Command Line](https://adamtheautomator.com/install-oh-my-zsh-on-ubuntu/)

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fubuntu-on-raspberry-pi%2F&text=How%20to%20Install%20Ubuntu%20on%20Raspberry%20Pi)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fubuntu-on-raspberry-pi%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fubuntu-on-raspberry-pi%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2024/03/openldap-4.jpg)

### [How to Install and Configure an OpenLDAP Ubuntu Server](/openldap/)

Unlock the power of OpenLDAP on Ubuntu for centralized user authentication, seamless access control management, and enhanced directory services!

![](https://adamtheautomator.com/wp-content/uploads/2024/03/ubuntu-ntp.jpg)

### [How to Setup Ubuntu NTP Server](/ubuntu-ntp/)

Learn to configure an Ubuntu NTP server for precise time synchronization across your network. Ensure seamless operations with accurate timekeeping!

![](https://adamtheautomator.com/wp-content/uploads/2022/04/How-to-Install-Apache-on-Ubuntu.jpg)

### [Install Apache on Ubuntu and Master Website Traffic Management](/install-apache-on-ubuntu/)

Ready to optimize your website for high traffic? Install Apache on Ubuntu with this step-by-step guide and ensure smooth performance under heavy loads.

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
