Q. How do I know when I need to update my Linux system? How do I know new patches are available for CentOS Linux (Red Hat) / Debian Linux server system?
A. Almost all Linux distribution includes a command line and/or GUI notification tool. A small icon will appear on your toolbar. It will indicate that there is an update waiting to be downloaded. By double clicking on the icon, you should able to install all the updates.
If GUI is not installed type the following command to see status of updated package under Debian Linux:
# apt-get update
# apt-get upgrade
Under CentOS Linux 5 / RHEL 5 Linux server pass check-update option to yum command. You will find out if your machine had any updates that needed to be applied without running it interactively.
# yum check-update
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 3 comments… read them below or add one }
A more complete answer would include a website that showed the schedule of updates, complete with the changelogs, etc.
Imagine you are administering 100 debian boxes.
You have a windows laptop and at the moment you don’t have access to the debian boxes. But you’d like to see what packages are ready to be updated since 2 weeks ago when you applied updates.
If you are on Debian (or similar), there is a package called apticron which will e-mail you details of updates when they become available. It’s very handy.
Right now we are using YAST/YAST2 for system update; is there any OFFICIAL command line tool for SuSE Linux(like yum & apt-get).