How to view the update logs for the Deb and RPM packages on Linux

Source: Internet
Author: User

Guide When a program or library is packaged as a deb or RPM package, some metadata files are included, one of which is the Changelog file, which records what changes have occurred after each update of the package. Therefore, if you want to find out what has changed in your installed or updated package, we can view the update log for the package (Changelog). This article describes how to view an update log based on a Debian system or Red Hat system software package.
View the Deb package update log method One: Apt-get or aptitude

The latest Apt-get command can check the update log of the package and whether the package is installed on your system.

$ apt-get Changelog  

Another command-line package Manager, Apittude, has the same options as Apt-get. It is installed by default on all distributions of debian-based, except Ubuntu Desktop Edition.

$ aptitude Changelog  

One big advantage of aptitude is that it complements the ncurses-based user interface

You can search for the specified package by tapping the "/" Plus package name. Tap "C" to view the update log for the package

method Two: Synaptic

If you are a desktop user, synaptic has an additional option to view the package's update log--deb package for the graphics package management tool. Install synaptic on the debian-based system with the following command

After the synaptic installation is complete and loaded, click "Get Changelog" on any of the installation package description pages to see the update log for the package.

method Three (on Ubuntu): Software-updater

Another GUI method--software Updater is specific to Ubuntu desktop, this GUI tool can remind any Ubuntu software to update and install. However, it is important to note that this software updater (software Updater) does not display the update log for any package like any other method. Use the following command to run software Updater

It can display the update log of the package that will be installed (not download good)

method Four:/usr/share/doc

Check the update logs for the packages that are already installed:

View the update log for RPM packages method One: RPM

Use the RPM command to check any installed packages. Note: RPM cannot check the update log for packages that are not installed on the system.

$ rpm-q--changelog  

method Two: Repoquery

Use the Repoquery command to check the update log for packages that are not already installed on your system. Installing Repoquery

To view the update log using the Repoquery command

$ repoquery--changelog  
method Three: Yum-changelog

Installing the Yum-changelog Plugin

$ sudo yum install Yum-changelog

You can now use the Yum command to view an update log for a single package before/after the package is installed

$ yum Changelog  

This changelog plugin has additional options to customize the view update log to view the latest 5 package update logs

$ yum Changelog 5  

View update logs for packages since June 1, 2015

$ yum changelog "2015-06-01"  

method Four (on Fedora): DNF

All three or more of these methods still work on fedora unless you use DNF as the default package manager. DNF temporarily does not provide an option to check the update log for a single package. But you can use DNF to display any important bug fixes, security patches, and enhancements (similar to Ubuntu software updates) for the update report. As shown below

Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/

How to view the update logs for the Deb and RPM packages on Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.