In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to view the update log of Deb and RPM software packages in Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
When a program or library is packaged into a Deb or RPM package, there are some metadata files included in it, one of which is the changelog file, which records what happens to the package after each update. So, if you want to find out what happened to the package you installed or updated, we can check the package's update log (changelog).
Check Deb package update log method 1: apt-get or aptitude
The latest apt-get command checks the update log of the package and whether or not the package is installed on your system.
$apt-get changelog | more
Another command line package manager, apittude, has the same options as apt-get. It is installed by default on all Debian-based distributions except the Ubuntu desktop version.
$aptitude changelog | more
One of the advantages of aptitude is that it complements the ncurses-based user interface
$aptitude-curses
You can search for the specified package by typing "/" plus the package name. Click "C" to view the update log of the package
Method 2: synaptic
If you are a desktop user, synaptic has an additional option to view the update log of the package-the graphical package management tool for the Deb package. Install synaptic on a Debian-based system with the following command
$sudo apt-get install synaptic
After synaptic is installed and loaded, click "Get Changelog" on any installation package description page to see the update log of the package.
Method 3 (on Ubuntu): Software-Updater
Another GUI method, Software Updater, is specific to the Ubuntu desktop, and this GUI tool can remind you of any update and installation of Ubuntu software. It is important to note, however, that this software updater (Software Updater) cannot display the update log of any package like other methods. Run Software Updater using the following command
$update-manager
It displays the update log of the package to be installed (not downloaded)
Method 4: / usr/share/doc
Check the update log of the installed package:
$zless / usr/share/doc//changelog.Debian.gz$ zless / usr/share/doc//changelog.gz method 1: rpm to view the update log of the RPM package
Use the rpm command to check any installed software package. Note: rpm cannot check the update log of software packages that are not installed on the system.
$rpm-Q-- changelog | more method 2: Repoquery
Use the repoquery command to check the update log of packages that have not been installed on your system. Install repoquery
$sudo yum install yum-utils
Use the repoquery command to view the update log
$repoquery-- changelog | method 3 of more: yum-changelog
Install the yum-changelog plug-in
$sudo yum install yum-changelog
You can now use the yum command to view the update log of a single package before / after installing the package
$yum changelog
This changelog plug-in has an additional option to customize the update log to view the update logs of the last five packages.
$yum changelog 5
View the package update log since June 1, 2015
$yum changelog "2015-06-01" method IV (on Fedora): dnf
All three of these methods still work on Fedora unless you use dnf as the default package manager. Dnf does not yet provide an option to check the update log of a single package. But you can use dnf to display update reports for any major bug fixes, security patches, and enhancements (similar to Ubuntu software updates). As shown below
$dnf updateinfo info | more's article on "how to view Deb and RPM software package update logs in Linux" ends here. I hope the above content can be helpful to you so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.