Upgrading Your Raspberry Pi
This website uses affiliate links to generate revenue, meaning we earn a small commission at no extra cost to you when you purchase through our links. Check out my Affiliate Policy Here.
For Models
It’s always a good idea to ensure you have the latest and greatest version of Raspbian on your Pi. Keeping your Pi OS up to date is the only way to ensure your device is running at peak performance with the latest fixes and updates that include tweaks and security patches. If your run your devices headless, be sure to stay on top of updates as routine monthly maintenance.
Step 1
Update the list of repository packages by opening a Terminal Window or pressing Ctrl + Alt + T and enter:
sudo apt-get update
This command checks for and downloads the latest packages for your operating system.
Step 2
Run the Update Command:
sudo apt dist-upgrade
This is an enhanced version of apt-upgrade. It upgrades the software packages while removing some packages to satisfy some dependencies.
Step 3
Finish up your update with:
sudo apt clean
This command cleans out the cache once you have installed the packages while using apt-get command.
Step 4
Restart your Pi to delete old files and updates. This will complete the update process:
sudo reboot
This command properly shuts down all running programs and restarts the OS while emptying the cache and restarting.
Now you have the latest Raspbian installed!