How to query and install the latest package

Hi! Recently I want to install a package on rockylinux, e.g. nodejs, I found there are several versions available on

But when I use dnf to search the package on my host, it reports only one version, that is,

dnf search nodejs ----> nodejs-10.24.0......

In fact there are other version like 12.22, 14.20, 16.17 on, I wonder how to install the other version of the interesting package, something like dnf install nodejs-16.17....?

Hi @miccc,

What you are seeing there are the AppStream packages:
I think you might understand it best by reading the RH docs about this topic:

1 Like

@miccc As of November 14th, you can now use this link to get similar information: Software Management - Documentation

1 Like