Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common rpm/dnf invocations #140

Open
Notgnoshi opened this issue Aug 17, 2024 · 0 comments
Open

Common rpm/dnf invocations #140

Notgnoshi opened this issue Aug 17, 2024 · 0 comments
Labels
linux new content New content to add to the site

Comments

@Notgnoshi
Copy link
Owner

Notgnoshi commented Aug 17, 2024

  • What's the inverse dependencies of a package?
    • dnf repoquery --installed --whatrequires <package>
  • What's the dependencies of a package?
  • What package provides a file?
    • rpm -qf <file>
  • What preinst/postinst scriptlets come from an rpm?
  • List contents of an rpm
  • Extract the contents of an rpm for inspection
  • What files does an rpm install?
  • Download, without installing, an rpm
  • Audit recent transactions
  • List installed packages
    • rpm -qa
    • dnf list --installed
  • How to remove an rpm without removing the packages that depend on it?
    • rpm -e <pkg> --nodeps
  • How to reinstall an rpm?
  • Where are rpms downloaded to?
  • How does the rpm/dnf database(s) work, and how does that relate to "repos" and "channels"?
  • How are dnf, yum, smart, and rpm related?
@Notgnoshi Notgnoshi added new content New content to add to the site linux labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux new content New content to add to the site
Projects
None yet
Development

No branches or pull requests

1 participant