How To Update Raspberry Pi: Just Follow These Easy Steps

Let’s talk a about how to update Raspberry Pi. If you’ve never updated your little computer , it’s time to try it out!

Released in September 2019, Raspbian Buster is based on Debian Buster and has been updated several times. It pre-installed Python, Scratch, Sonic Pi, Java and other programming tools.

Raspbian itself comes with a set of tools, from the Chromium browser to several useful software applications and utilities. There is also Claws Mail, the LibreOffice package, not to mention Minecraft PE!

The latest versions of Raspbian have been improved with a wizard along with a recommended software tool. Display settings have also been added, including Pixel Doubling for UHD displays. There is also support for network boot over Ethernet.

(btw, if you haven’t seen this Raspberry Pi video lessons for beginners, I highly recommend to check it)

The easiest way to update Raspbian is in Terminal. Do it via the desktop menu or by pressing Ctrl + Alt + T (I assume you have a typical keyboard)

Start by updating the list of repository packages:

When this is done, run the update command:

Follow any instructions and wait for the Pi update. When you’re done, type in:

This will delete unnecessary files that were uploaded during the update. Finish by restarting:

When your Raspberry Pi is restarted, you will use the latest version of Raspbian.

Upgrade Raspbian to the latest version

As already mentioned, Raspbian is based on Debian and follows the naming conventions of the parent distribution.

To upgrade Raspbian Stretch to Raspbian Buster, start with updates and upgrades to the latest packages.

Then you need to update the firmware:

Updating to Raspbian Buster means switching repositories. This can be easily done in the terminal by editing the sources:

Use the arrow keys to view the list until you find it

Change this line by replacing “stretch” with “buster”:

Press Ctrl + X to save and exit, then delete a large change log file:

This will save time when updating the operating system.

After updating the sources, you can start a full package update:

It will take some time, so be patient. When you’re done, use

give up old packages with changed dependencies, then

This clears the packet cache, removing data that is no longer available for download and saving space on your Raspberry Pi.

To complete the upgrade from Raspbian Stretch to Raspbian Buster, restart your computer.

That’s all, folks! You also may be interested on my other story about RPi:

Software developer with 30 years of experience

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store