Updating your RPi

Updating your RPi involves a few simple steps:

  1. Open a Terminal window and enter the following command:
sudo apt-get update 
  1. Upgrade the RPi by entering the following command:
sudo apt-get upgrade -y
  1. Reboot the RPi:
sudo shutdown -r now

Once your RPi restarts, open the Terminal window again.

While running certain commands in the Terminal window, you may get a prompt that asks you whether you want to continue. In the commands for this process, we have already added the -y command (at the end of the line), which will automatically apply the yes command to the prompts.