Updating the operating system (apt-get)

This recipe shows how to update the Raspberry Pi using the apt-get command.

The Raspberry Pi and the operating systems that run on the Raspberry Pi, such as the Raspbian Linux distribution, are evolving at a rapid pace. Every week, if not everyday, there are new updates and security patches that can be downloaded and installed.

This recipe uses the Advance Packaging Tools command-line utility called apt-get to update the existing software on the Raspberry Pi to the latest version. This recipe does not install new software; it simply upgrades the software that has already been installed. The recipes named Searching for software packages and Installing a package show how to search for and install new software ...

Get Raspberry Pi Networking Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.