update_raspbian
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| update_raspbian [2016/09/14 08:08] – created walkeradmin | update_raspbian [2016/09/15 11:47] (current) – [Automatic] walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Update Raspbian ====== | ====== Update Raspbian ====== | ||
| - | \\ | ||
| \\ | \\ | ||
| To upgrade and update Raspbian, enter the following from the command line: | To upgrade and update Raspbian, enter the following from the command line: | ||
| Line 9: | Line 8: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | ==== Update Firmware ===== | ||
| + | \\ | ||
| + | sudo apt-get install rpi-update | ||
| + | \\ | ||
| + | \\ | ||
| + | ===== Automatic Updates ===== | ||
| + | \\ | ||
| + | If you want to automate these procedures it can be done by configuring apt's Periodic options. The Raspberry Pi comes with apt installed (it provides the apt-get commands, etc.), and as part of that package an automated script is installed (in / | ||
| + | \\ | ||
| + | < | ||
| + | APT:: | ||
| + | APT:: | ||
| + | APT:: | ||
| + | APT:: | ||
| + | </ | ||
| + | \\ | ||
| + | This configuration will just run update every day for you so when you run sudo apt-get upgrade you'll install the latest packages (without having to first run apt-get update). | ||
| + | \\ | ||
| + | \\ | ||
| + | ===== Automatic Upgrades ===== | ||
| + | \\ | ||
| + | To configure apt to automatically upgrade packages as well - firstly you'll need to install a new package to make the unattended upgrades work: | ||
| + | |||
| + | < | ||
| + | sudo apt-get install unattended-upgrades | ||
| + | </ | ||
| + | Then you change the following option to " | ||
| + | < | ||
| + | APT:: | ||
| + | </ | ||
| + | For more details see the comments inside the / | ||
update_raspbian.1473840483.txt.gz · Last modified: (external edit)
