Just like your pill, cellphone, and laptop computer, it’s worthwhile to maintain your Raspberry Pi up to date. Not solely will the newest enhancements maintain your Pi working easily, they will even maintain you safer, particularly if you’re linked to a community. The seventh article in our information to getting began with the Raspberry Pi shares two items of recommendation on maintaining your Pi working effectively.
Updating your Raspbian set up is a two-step process:
- In your terminal kind: sudo apt-get replace
The command sudo lets you run apt-get replace as admin (aka root). Note that apt-get replace won’t set up something new in your system; quite it’s going to replace the record of packages and dependencies that have to be up to date.
- Then kind: sudo apt-get dist-upgrade
From the documentation: “Generally talking, doing this frequently will maintain your set up updated, in that it will likely be equal to the newest launched picture obtainable from raspberrypi.org/downloads.”
Be cautious with rpi-update
Raspbian comes with one other little replace utility referred to as rpi-update. This utility can be utilized to improve your Pi to the newest firmware which can or will not be damaged/buggy. You might discover data explaining learn how to use it, however as of late it’s endorsed by no means to make use of this utility except you might have a extremely good cause to take action.
Bottom line: Keep your techniques up to date!