apt-listchanges is a tool to show what has been changed in a new version of a Debian package, as compared to the version currently installed on the system.
It does this by extracting the relevant entries from both the NEWS.Debian and changelog[.Debian] files, usually found in /usr/share/doc/package,from Debian package archives.
Given a set of filenames as arguments (or read from apt when using --apt
), apt-listchanges will scan the files (assumed to be Debian package archives) for the relevant changelog entries, and display them all in a summary, sorted by urgency.
Install apt-listchanges in debian
#apt-get install apt-listchanges
Install apt-listchanges in Ubuntu
sudo apt-get install apt-listchanges
apt-listchanges Syntax
apt-listchanges [options] {--apt
| filename.deb …}
Configuration file located at /etc/apt/listchanges.conf
Example configuration file
[cmdline]
frontend=pager
[apt]
frontend=xterm-pager
email_address=root
confirm=1
[custom]
frontend=browser
browser=mozilla
The above configuration file specifies that in command-line mode, the default frontend should be “pager”. In apt mode, the xterm-pager frontend is default, a copy of the changelogs (if any) should be emailed to root, and apt-listchanges should ask for confirmation.If apt-listchanges is invoked with --profile=custom
, the browser frontend will be used, and invoke mozilla.
This can be configured with the following command
#dpkg-reconfigure apt-listchanges
If you want to know more available options check apt-listchanges man page