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_ID=”8″
VERSION=”8 (jessie)”
ID=raspbian
ID_LIKE=debian
HOME_URL=”http://www.raspbian.org/”
SUPPORT_URL=”http://www.raspbian.org/RaspbianForums”
BUG_REPORT_URL=”http://www.raspbian.org/RaspbianBugs”
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 email address will not be published. Required fields are marked *