Main Menu

search

You are here

rPi Updating

[last updated: 2019-10-23]
rPi home page
-----

  • rPi's have SD cards where their Operating system (Raspbian) is stored.
    Initially a new SD card will have a program called NOOBS (New Out Of Box Software)
    ((link to:) Procedure to create a new SD card)
    NOOBS is updated periodically. Current version, released 30th September 2019, is v3.2.1
      Find the version of NOOBS on your SD card:
      (Note: the recovery program will have its own version number, which may be different than that of the full distribution)
    • With your SD card inserted into your rPi,
      $ sudo mount /dev/mmcblk0p1 /mnt
      • then: $ sudo lsblk will return a table of drives
        and your ...p1 partition will show "/mnt" in the MOUNTPOINT column
    • then: $ cat /mnt/BUILD-DATA
      will report NOOBS versison on this SD card.
      • SD01 is v2.1-28-g143b0fd
      • SD02 is v2.1-28-g143b0fd
      • SD03 is v3.2 (buster)
    • then: $ sudo umount /mnt

    Startup of a new SD card involves executing NOOBS and selecting your desired OS from the options provided.

  • Once you have your desired OS installed on the SD, you should periodically update it to ensure you have the most recent software.
    With a working internet connection, open a terminal, and to see how much free space is available, execute:
    $ df -h
    then:
    $ sudo apt update
    then:
    $ sudo apt full-upgrade
  • The upgrade command will run for a few seconds, then will tell you how much additional SD card space it needs, prompting you to proceed or not.
    If you need more space, enter "n", then you can gain space by clearing your archives with:
    $ sudo apt clean
    then restart sudo apt full-upgrade
    The upgrade command may take a few hours.

.

.

.

eof