Ticker

6/recent/ticker-posts

Header Ads Widget

Upgrade existing Raspberry Pi OS to Bullseye

Upgrade your existing Raspberry Pi OS to latest Raspberry Pi OS bullseye by just running the few commands on raspbian terminal. Taking backup of your codes and projects is highly recommended before upgrading the current raspberry pi os to debian 11.
  • Open a terminal window and run the below command to update software repositories: 
$ sudo apt-get update
  • Fully upgrade your  Pi installation:
$ sudo apt-get dist-upgrade -y
  • Now update the Raspberry Pi firmware to latest version.
$ sudo rpi-update
  • Run the below command to open source.list file in nano editor
$ sudo nano /etc/apt/sources.list
  • Scroll down and look for a line as shown below:
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
  • Change the name of buster (Your current Pi version) to bullseye. After editing, it should look like the below line. Save this file by pressing CTRL + X and y and hit enter.
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
  • Now update the bullseye debian 11 software repository.
$ sudo apt-get update
  • Now run the distribution upgrade again for bullseye.
$ sudo apt-get dist-upgrade
  • Now clean up extra installation file.
$ sudo apt-get autoclean
  • Finally reboot the Raspberry Pi so it can take effect as per the new OS.
$ sudo reboot

Your Raspberry Pi is now running the latest debian 11 bullseye OS.

Post a Comment

0 Comments