Book Image

Banana Pi Cookbook

By : Ryad El-Dajani
Book Image

Banana Pi Cookbook

By: Ryad El-Dajani

Overview of this book

Table of Contents (13 chapters)

Updating the operating system


This recipe explains how to update your Linux operating system using the apt-get program.

Updating (or upgrading) the Linux system is important, still quite simple. Almost every day, the community improves the software that is used on Linux systems. Some updates are just for new features while others are incredibly important. Think of the dangerous Heartbleed Bug in the widely used cryptography library OpenSSL in April 2014.

Therefore, distribution upgrading is highly recommended on a regular basis but at least once a month.

Getting ready

The following ingredients are required for this recipe:

  • A booted Debian-based operating system on your Banana Pi

  • An Internet connection

How to do it…

Upgrade your whole Debian-based Linux distribution by performing the following steps:

  1. Connect to your Banana Pi remotely or open a terminal on the desktop.

  2. Type in the following command into the shell:

    $ sudo apt-get update
    
  3. If asked to type the password for sudo, enter the user's password...