[SOLVED] Listing installed packages' versions

Hi!

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
Stefan

Try rpm -q <package>

$ rpm -q toolbox
toolbox-0.0.10-1.fc30.noarch
3 Likes

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

3 Likes