Raspberry Bulbs – Nature Tries Again
Notation: This guide has been updated in Nov 2021, to explain how to upgrade RPI Os Bullseye to Bookworm, but y'all can use the aforementioned tips to upgrade Buster to Bullseye, that is now officially the stable version. Keep in mind that the Raspberry Pi Foundation recommends installing Bullseye from scratch, instead of upgrading it like explained in this tutorial.
Raspberry Pi Os is based on Debian and follows its versions. The latest Raspberry Pi Os version available for download is currently "Bullseye", based on Debian x.
If you are backside and demand to update your Raspberry Pi OS or want to try the adjacent version ("Bookworm" due east.m. Debian 12), you are in the right place.
Raspberry Pi Bone used package repositories to download new updates for installed software. By using repositories for another version, it's possible to upgrade to the latest i without losing whatever data. The URL are set in /etc/apt/sources.list.
In this tutorial, I'll show you how to upgrade your system by editing the file and installing all of the new packages.
Raspberry Pi Bone versions
Download the Pi Glossary!
If you lot are lost in all these new words and abbreviations, request my free Raspberry Pi glossary here (PDF format)!
Get My Cheat Sheet!
Grab your free PDF file with all the commands you need to know on Raspberry Pi!
Raspberry Pi Bootcamp
Sale: 10% off today.
Accept it to the adjacent level.
I'm here to assistance y'all get started on Raspberry Pi.
Acquire all the skills you demand in the correct lodge.
Before going further, y'all need to know which version you are currently using, and the new versions bachelor.
As previously mentioned, Raspberry Pi OS is based on Debian and follows the same versions:
Debian version | Code name | Release engagement |
---|---|---|
Debian viii | Jessie | September 2015 |
Debian 9 | Stretch | August 2017 |
Debian ten | Buster | June 2019 |
Debian xi | Bullseye | November 2021 |
Debian 12 | Bookworm | Not released yet, probably in 2023 🙂 |
Yes, all of the code names are based on Toy Story characters :).
You tin check this guide to determine which version you currently have.
If you have a recent Raspberry Pi model, y'all too have to use a contempo Raspberry Pi Bone version. For instance, Raspberry Pi 4 doesn't kicking on Stretch and Raspberry Pi 3B+ doesn't work on Jessie.
During writing, the current stable version is Raspberry Pi OS Bullseye.
If y'all are using an old version, it'south a good idea to update it.
Raspberry Pi Bone Bookworm is not yet considered stable, but the release date is coming shortly and repositories for Raspberry Pi OS are already up and running. That'southward why y'all tin now update to test it.
Back up united states of america: Bring together the community on Patreon to evidence your support, get behind-the-scenes content and other crawly perks!
Updating sources.list
Equally mentioned in the introduction, we use APT to update all of the packages on the system (either straight or with a graphical tool intermediate). APT checks for new updates available on the repositories and suggests installation.
Chief your Raspberry Pi in 30 days
Sale: 10% off today.
Download the eBook.
Uncover the secrets of the Raspberry Pi in a 30 days claiming.
Acquire useful Linux skills and practice multiples projects.
The easiest way to upgrade your system to a new version is to alter the repositories used by APT. Just I besides have an alternative to upgrading without commands if you lot are averse to it :).
Before going further, creating a backup of your SD carte might be a good idea. If anything is broken after the installation, you'll still take a way to easily come back to the electric current land of your arrangement.
From a terminal
Then, outset past opening a terminal.
Y'all tin can do this on Desktop, on Raspberry Pi Bone Lite or even via an SSH connection, information technology doesn't thing.
Here are the steps to follow:
- Open the sources.list file with:
sudo nano /etc/apt/sources.listing
- Yous'll see ane or more lines like this:
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib not-free rpi
- Edit this line and replace the current Debian code proper name with the one you lot want to install, for instance:
deb http://raspbian.raspberrypi.org/raspbian/ bookworm main contrib not-gratis rpi
It's a good idea to update it step-by-footstep, one version at a time. - Relieve and exit this file.
The side by side step is to make a consummate upgrade of your system:
- Update the package lists:
sudo apt update
- Then upgrade everything with:
sudo apt upgrade
- Press "Y" to confirm the installation.
Information technology will start downloading all the packages at present. - Press "q" to exit the apt-listchanges text.
- Depending on the packages y'all have, you might have to reply a few questions during the installation (overwrite configuration, restart services, etc.).
It will take a while to download and install all the new packet (over grand in my case).
Once done, it's a expert idea to reboot your organization to utilise all changes directly:
sudo reboot
Principal Python on Raspberry Pi
Sale: ten% off today.
Become the eBook.
Do more than with your Raspberry Pi, larn the useful concepts and take the shortcuts.
You miss half of the fun of using a Raspberry Pi if yous don't know anything about Python.
That's it, I'm now up-to-appointment with bullseye running on my Raspberry Pi 4:
With a desktop tool
As promised, here is how to do this if you want to avoid the control line.
By default, I don't think in that location is a way to practise it easily.
The Add / Remove package tool can't edit the sources file, yous can also see the current repositories.
But you can install Synaptic to practise it:
Once washed, you can use Synaptic to update all the packages (use the icons in the top bar), or go back to the "Add together / remove software" tool if you prefer.
Either way, your organization is now up-to-engagement.
If you are trying Bookworm before the official release date, you might have a few bugs, but in general, Debian is pretty stable, even on a evolution release.
Source: https://raspberrytips.com/update-raspberry-pi-latest-version/
0 Response to "Raspberry Bulbs – Nature Tries Again"
Post a Comment