[SOLVED] Listing installed packages' versions


I’m a happy Silverblue user but at times, I’ve wanted to know the installed version of a specific package.
Some applications can give info about themselves but libraries or drivers might not.

I’m currently running a container and guess my version based on what is available in the repositories but I’m not sure.

Is there a good way of doing this?

I’ve tried overlaying DNF but that does not feel like the proper way in Silverblue.

What do you guys think?

Kind regards

Try rpm -q <package>

$ rpm -q toolbox

Oh, now I feel really stupid :stuck_out_tongue:

Thanks for the quick help!

Glad I could help! :slight_smile:

This is an important part of the idea behind why the project is literally (and unimaginatively) named rpm-ostree. At this time Silverblue (and Fedora CoreOS, Atomic Host) only contain content installed from RPMs.

However, it is possible this may change in the future, see e.g. https://github.com/projectatomic/rpm-ostree/pull/1830