Skip to content

Instantly share code, notes, and snippets.

@SystemJargon
Created June 29, 2024 21:51
Show Gist options
  • Save SystemJargon/c4308d8b2832bd9b58d2acb03ea9537a to your computer and use it in GitHub Desktop.
Save SystemJargon/c4308d8b2832bd9b58d2acb03ea9537a to your computer and use it in GitHub Desktop.
Raspberry-Pi Update CLI syntax

Raspberry-Pi Update CLI syntax

Some config is available also via sudo raspi-config

# update package list
sudo apt update -y
# full upgrade any package
sudo apt full-upgrade -y
# you may need to reboot but only if effecting kernel
sudo reboot
# clean up cached package remnants
sudo apt autoremove
sudo apt clean
# check bootloader current version and compare to available update
sudo rpi-eeprom-update
# update bootloader
sudo rpi-eeprom-update -a
# reboot needed to apply any bootloader update
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment