Updating Raspbian

First, update your systems package list. (This fetches information about the newest versions) :

sudo apt-get update

Second, download and install the updates:

sudo apt-get dist-upgrade

That’s it, job done! You’ll now be running the latest version of Raspbian. It is worth doing this periodically to ensure you keep your Operating System up to date.

You can check your current kernal version:

uname -a

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux
pi@raspberrypi:~ $

You can check your current distro version:

cat /etc/os-release

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME=”Raspbian GNU/Linux 8 (jessie)”
NAME=”Raspbian GNU/Linux”
VERSION=”8 (jessie)”
pi@raspberrypi:~ $

It’s worth noting that the downloaded packages are stored in /var/cache/apt/archives and once installed, can be safely deleted to free up some space on your SD card:

sudo apt-get clean

Leave a Reply

Your e-mail address will not be published. Required fields are marked *