- Ubuntu On Raspberry Pi 4
How To Install Ubuntu On Raspberry Pi 4?
Step 1 – SD card preparation
- Connect a microSD card to your computer.
- Download and install the Raspberry Pi Imager tool for Ubuntu.
- Open the installed tool.
- Click the Choose OS button, select the Ubuntu option, and choose Ubuntu 20.04 LTS (Pi 2/3/4).
- Click the Choose SD Card button and choose your microSD card.
- Click the Write button and wait for some time.
Step 2 – Internet connection
Method 1 – Wired
- Establish a connection between your Raspberry Pi and router using an Ethernet cable.
Method 2 – Wireless
- Connect both the computer and Raspberry Pi device wirelessly.
- 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
- If you have been using an HDMI screen and a USB keyboard, they should be connected before turning on the Raspberry Pi.
- When you see the boot screen, sign in to it using Ubuntu.
Method 2 – Using device headless
- If you are using your device headless, connect it remotely to your computer using the SSH protocol.
- Connect the microSD card to the Raspberry Pi and turn it on.
- Ubuntu on it will be booted and connected to the network.
Step 4 – Installing a desktop (optional)
- To check whether all your packages are updated to the most recent version, enter the following commands.
- sudo apt update
- sudo apt upgrade
- To install a desktop environment, type the ‘apt install’ command line and press Enter.
- Some of the popular and lightweight options are provided here for your reference how to install Ubuntu on raspberry pi 4.
- sudo apt install xubuntu-desktop
- sudo apt install lubuntu-desktop
- sudo apt install kubuntu-desktop
- Once done, enter ‘sudo reboot’ to reboot the Raspberry Pi.