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 download.rockylinux.org.

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 http://download.rockylinux.org/pub/rocky/8/AppStream/x86_64/os/Packages/n/, 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