Reputation: 86177
This page http://rikers.org/rpmbook/node29.html
says "RPM's query function can help you get out of sticky situations"
and man rpm
says:
QUERYING AND VERIFYING PACKAGES:
rpm {-q|--query} [select-options] [query-options]
-a, --all
Query all installed packages.
If I run rpm -qa logstash
I get:
logstash-5.5.1-1.noarch
so does this mean:
I have logstash-5.5.1-1 installed?
logstash-5.5.1-1 is available to install from the remote source?
a local logstash rpm is available which is logstash-5.5.1-1?
Upvotes: 0
Views: 12657
Reputation: 311508
Used like this, rpm
will return information about installed packages. This means you have logstash-5.5.1-1.noarch
installed.
You could gather more information on both the installed and available packages by using dnf info logstash
(or, on older EL distros, yum info logstash
).
Upvotes: 2