How to Install Raspberry Pi OS on Your Pi

Install Raspberry Pi OS Raspbian OS using GUI tools in a safer and easier way
Warp Terminal

Raspberry Pi OS (formerly known as Raspbian) is the default and recommended operating system for Raspberry Pi.

It is based on Debian and features the PIXEL desktop environment , developed by the Raspberry Pi team.

As an open-source operating system, it comes pre-installed with various tools and applications designed for learning programming and supporting STEM education.

The Raspberry Pi OS is provides the best compatibility for your Pi, HATs and any other attachments you use.

In simple words, this is the best operating system for Raspberry Pi for general purpose usage.

If you have got a new Raspberry Pi, let's see how to install Raspberry Pi OS on a micro SD card and use it on your device.

Perquisites

Here is a list of all the things you need to get started with Raspberry Pi:

  • A Raspberry Pi (older versions should work fine as well).
  • A Class 10 Micro SD Card, at least 8 GB.
  • HDMI compatible display and HDMI Cable
  • Official power supply
  • Keyboard and Mouse
  • Internet Connectivity(WiFi or Ethernet).
  • Micro SD Card Reader.

Installation

Let’s go through the step by step process to install and set up Raspberry Pi OS on your Raspberry Pi.

Step 1: Download Raspberry Pi Imager

Visit the official Raspberry Pi website and download the Raspberry Pi Imager for your operating system (Windows, macOS, or Linux).

rpi-imager downloads page

Step 2: Insert a MicroSD Card

Use a microSD card (at least 8 GB recommended) and insert it into your computer's card reader. Ensure that any important data on the card is backed up, as the installation process will erase all existing data.

Insert MicroSD card in Raspberry Pi

Step 3: Choose Device

Click on "Choose Device" to select the model of your Raspberry Pi (e.g., Raspberry Pi 5, Raspberry Pi 4, etc.). This ensures that the correct OS version is installed for your specific model.

rpi-imager choose device menu

Step 4: Choose OS

Click on "Choose OS" to select the operating system you want to install. Choose "Raspberry Pi OS" from the list.

rpi-imager choose os

Step 5: Select Storage

Click on "Choose Storage" and select your microSD card from the list. Be cautious to choose the correct drive to avoid data loss.

rpi-imager select storage device

(Optional Step) Configure Raspberry Pi Imager Options

Before proceeding to write the image, click on the settings icon (gear icon) in the Raspberry Pi Imager.

os customization setting in rpi-imager
  • Here, you can pre-customize your Raspberry Pi OS:
    • Set Hostname: Give your Raspberry Pi a unique name.
    • Username and Password: Create a user account with your desired username and password.
    • Wi-Fi Credentials: Enter your Wi-Fi network name (SSID) and password to connect automatically.
    • Enable SSH: Check the box to enable SSH, allowing you to access your Raspberry Pi remotely over the network.
    • Configure Other Options: You can also configure other settings, such as localization and keyboard layout.
customizing os in rpi-imager

Step 6: Write the Image

Click on the "Write" button to begin the installation process. The Imager will download and write the Raspberry Pi OS image to the microSD card. This may take a few minutes.

write os image in the microSD card

Step 7: Eject the MicroSD Card and Insert into Raspberry Pi

Once the process is complete, safely eject the microSD card from your computer and insert it into the microSD card slot on your Raspberry Pi.

Step 8: Connect Peripherals and Power On

Connect your Raspberry Pi to a monitor, keyboard, and mouse. If using Wi-Fi, ensure your credentials are configured.

Finally, connect the power supply to your Raspberry Pi. It will boot up, guiding you through the initial setup process.

First boot & initial configuration

First boot can take about a minute or two, once the Pi has booted up you are taken to the welcome screen for initial setup (if you have not done that in the Raspberry Pi Imager)

Raspberry Pi OS initial configuration

Click next, set your country, language and keyboard preferences. Usually the language and keyboard changes based on the country you select, so make sure you change them if you want the language to be English.

Setting up location and timezone

Create a new user and a password for it:

Creating Users

Next, connect to your WiFi network if you haven’t plugged in an Ethernet cable.

Adding wifi

If the UI does not fill your display completely and has black border around it, tick the box in the following window. This happens due to improper display profile selection and gets corrected once the Pi restarts after the software update.

Verify if there are black border around screen

Update the Raspberry Pi OS, this step will take a while depending on network speeds.

Update the packages before using


Once the Raspberry Pi has finished updating, the initial setup is done!.

the updates has finished successfully

Raspberry Pi Configuration Wizard

Before you go ahead and explore the OS, let me show the Raspberry Pi configuration wizard.

You can access the configuration wizard by navigating through the menu.

Looking for Raspberry Pi Configuration in the main menu

In the System tab, you can change the password, set a new hostname for your Pi, change the boot options and more. Booting to CLI(Command Line Interface) is preferable when you are running network or server applications.

Here you can edit the essential settings of the OS

In the Interfaces tab, you can enable or disable all the different methods to interface with your Raspberry Pi.

SSH (Secure Shell) is disabled by default and needs to be enabled if you want to SSH into Raspberry Pi and access it via network.

Using VNC is another popular method to access a Raspberry Pi over the network. VNC streams the whole desktop GUI of the Pi to another device and you can interact with it like you would when directly using the Pi.

You can also enable or disable the GPIO bound interfaces in this tab.

In this section, you can enable and disable various interface options for Raspberry Pi

Explore the Raspbian OS

Now you can go ahead and explore rest of the Raspberry Pi OS.

Under the programming subsection in Add-Remove Software you can find a bunch of tools ready to download to help you learn programming.

Mu is one of my favorite tools. You also get the Raspberry Pi version of Wolfram Mathematica for free!

Exploring the recommended softwares

Under games you can also find Code The Classics:

code the classics game


At this point, you should be able to navigate around the Raspberry Pi OS on your own and also brings us to the end of the tutorial.

What made you curious about the Raspberry Pi? What do you think about the Raspberry Pi OS compared to your daily driver?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.