• Home
    »
  • Ubuntu On Raspberry Pi 4

How To Install Ubuntu On Raspberry Pi 4?

Step 1 – SD card preparation

  1. Connect a microSD card to your computer.
  2. Download and install the Raspberry Pi Imager tool for Ubuntu.
  3. Open the installed tool.
  4. Click the Choose OS button, select the Ubuntu option, and choose Ubuntu 20.04 LTS (Pi 2/3/4).
  5. Click the Choose SD Card button and choose your microSD card.
  6. Click the Write button and wait for some time.

Step 2 – Internet connection

Method 1 – Wired

  1. Establish a connection between your Raspberry Pi and router using an Ethernet cable.

Method 2 – Wireless

  1. Connect both the computer and Raspberry Pi device wirelessly.
  2. Edit the downloaded files on the SD card to make sure the Pi can connect to the wireless network while booting up.

Step 3 – Booting Ubuntu server

Method 1 – Using an HDMI screen and a USB keyboard

  1. If you have been using an HDMI screen and a USB keyboard, they should be connected before turning on the Raspberry Pi.
  2. When you see the boot screen, sign in to it using Ubuntu.

Method 2 – Using device headless

  1. If you are using your device headless, connect it remotely to your computer using the SSH protocol.
  2. Connect the microSD card to the Raspberry Pi and turn it on.
  3. Ubuntu on it will be booted and connected to the network.

Step 4 – Installing a desktop (optional)

  1. To check whether all your packages are updated to the most recent version, enter the following commands.
  2. sudo apt update
  3. sudo apt upgrade
  4. To install a desktop environment, type the ‘apt install’ command line and press Enter.
  5. Some of the popular and lightweight options are provided here for your reference how to install Ubuntu on raspberry pi 4.
  6. sudo apt install xubuntu-desktop
  7. sudo apt install lubuntu-desktop
  8. sudo apt install kubuntu-desktop
  9. Once done, enter ‘sudo reboot’ to reboot the Raspberry Pi.

How To Install Ubuntu On Raspberry Pi 4