I do not have sudo-rights and I want to

  • force to check for updates
  • to check if a package is installed or can be installed

1 Answer 1


dnf check-update

If you want to force to refresh dnf --refresh check-update

Other dnf-commands without requiring sudo are:

dnf check-update
dnf list installed
#for a specific package (I take firefox as an example)
dnf list firefox
dnf search firefox
dnf list installed firefox
rpm -q firefox
which firefox
firefox --version

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .