Debian

On Debian, we're going to use apt, which is the newest and, in my opinion, friendliest tool.

Unlike YUM, we can easily and independently update the list of available packages:

$ sudo apt updateIgn:1 http://deb.debian.org/debian stretch InReleaseHit:2 http://deb.debian.org/debian stretch ReleaseHit:4 http://security.debian.org/debian-security stretch/updates InReleaseReading package lists... DoneBuilding dependency tree Reading state information... Done15 packages can be upgraded. Run 'apt list --upgradable' to see them.

Note that it only updates its list, not the programs themselves.

Now, we can look for specific information by using the suggested command:

$ apt list --upgradable linux-image*Listing... Donelinux-image-4.9.0-7-amd64/stable ...

Get Linux Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.