As with all operating systems keeping packages up-to-date is always important to ensure you have the latest security patches as well as bug fixes for different software on your system.
This short post will share a quick and easy way to ensure your system is always up-to-date with minimal work on your part.
For most Linux distro’s its pretty easy to update your system, if your using Debian or its derivatives like Ubuntu fire up a terminal window and type the following:
Automating Linux updates
Instead of having to type this command in every single time you can create a script or download one from here to run the command above as well as others to remove obsolete packages, update the kernel and other packages.
Additionally you can put the script into a cron job which will run automatically which will be covered in an upcoming post.
I understand this won’t suit everyone but if you want to always keep your system up-to-date then this script can help.
Hi and welcome to AGR Technology, my name is Alessio and I maintain this blog aiming to cover all things tech including Windows, macOS, Android and Linux. Thanks for stopping by and I hope you enjoy this website.