How do I update my Raspberry Pi?

It is a good idea to periodically update your Raspberry Pi so you have the most recent version of your packages and patch security vulnerabilities. The easies way to do this is thru APT (Advanced Packaging Tool).

To get started, open up a Terminal window. We will want to make sure the APT has the most recent list of available packages. So first we will run:

sudo apt update

Next, run the following command to upgrade to the latest versions available:

sudo apt full-upgrade

We use the full-upgrade rather than just the basic upgrade so that any dependencies will also be updated.

A couple things you will want to keep in mind. First, this is only for day-to-day upgrades. It does not work on major releases.

Second is that APT will not check if you have enough disk space to run. Any previously downloaded package files will be kept in /var/cache/apt/archives. But you can easily remove them by running:

sudo apt clean


How to check the RAM on your Raspberry Pi

At some point you are going to want to know some information about the RAM on your Raspberry Pihow much you have, how much is used, how much is free, etc. Thankfully, there is a simple terminal command to give you this information.

Open a terminal window and enter this command:

free -h

This will give you a quick glance at the RAM usage. The -h flag will display the information in a more human readable format.