DNF command to search and list all versions of a package which is available.
Below command can be used.
dnf --showduplicates list <package name>
For e.g. below command will list all the available olcne-agent* packages
dnf --showduplicates list olcne-agent*
Last metadata expiration check: 1:10:58 ago on Mon 06 Jan 2025 07:32:27 PM UTC.
Installed Packages
olcne-agent.x86_64 1.7.2-3.el8 @ol8_olcne17
Available Packages
olcne-agent.x86_64 1.7.0-8.el8 ol8_olcne17
olcne-agent.x86_64 1.7.2-3.el8 ol8_olcne17
olcne-agent.x86_64 1.7.3-1.el8 ol8_olcne17
olcne-agent.x86_64 1.7.4-2.el8 ol8_olcne17
olcne-agent.x86_64 1.7.5-17.el8 ol8_olcne17
olcne-agent.x86_64 1.7.6-5.el8 ol8_olcne17
olcne-agent.x86_64 1.7.7-2.el8 ol8_olcne17
olcne-agent.x86_64 1.7.8-2.el8 ol8_olcne17
No comments:
Post a Comment