Is there a sort of update tool for my
Raspbian Wheezy package? I installed
lighttpd and I want to keep those automatically updated for when bugs are found.
Thanks in advance.
You need to enter some commands into the command line. First of all:
(this will update the sources of software)
(this will upgrade everything to the latest version)
Rpi-update first time: install git and certifications for reach github.
Basically you have to install the package:
and add to
Additionally (since it seems like the porting of the package has not been flawless), change the following line at the first section of
Now your system keeps itself up-to-date automatically.
You could also write a little script with your apt-get steps in there and run it on a schedule once a day / however often you like, that's what I've done.
How to set up a cron job on the Pi:
How to write a bash script:
My script was just a simple
and I had it logging the output to a file with
It's debatable as to how good an idea it is to do this though!
rpi-update can now be fetched directly via apt-get, so there would be no need to deal with wget. So here is now the updated way:
You need to reboot the raspberry pi now, otherwise the new kernel would not be used!
Rpi-update first time: install git and certifications to reach github.