RPM package tool
high risk
Query and install RPM packages. See the flags and examples below, and run `man rpm` for the full reference.
| Flag | Meaning |
|---|---|
-qa | All packages |
-qi | Package info |
-ql | Files of a package |
-qf | Owner of a file |
--nodeps --nodeps | Skip dependency checks⚠ Can break the system. |
-V | Verify a package |
rpm -qf /usr/bin/lsWho owns this file? · explain & risk-check →rpm -V openssh-serverVerify · explain & risk-check →Reference text is hand-written and may be incomplete — check man rpm for your version. Test destructive commands on a non-production system first.