Can install Rocky9 sw on Rocky10?

As the topic.

I need gkrellm-daemon, but it does not exist in the Rocky10 repos, but in Rocky9 repos.

If so, how do I do it?

You could download the src rpm and compile it for Rocky 10 if you like. That’s a task that can range from trivial to next-to-impossible, depending on the program and what it has for dependencies.

But it’s easy to try compiling it and see what happens.

So the only solution is re-compile then?

shrug

It’s the most immediate solution.

Another possibility would be to contact whoever compiled the el9 rpm you’re interested in and asking him/her to recompile it for you.

Or you could hire a consultant to deal with it.

Ultimately, someone will have to compile it into a rpm that you can install on el10, whether that’s you or someone else.

Additionally, it depends,
aka. depends on against what the application is linked, there are some which are just standalone, then the rpm can be used for several versions,
but most are dynamically linked, and you can also see that in required package versions (in the rpm requirements), then it’s a no.

It needs

It is this package

gkrellm-daemon-2.3.11-9.el9.x86_64.rpm CentOS 9, RHEL 9, Rocky Linux 9, AlmaLinux 9 Download

That package isn’t in Rocky Linux 9. It’s in EPEL. You can request it to be branched for 10.

If you want to try to build it yourself:

dnf install epel-release -y
crb enable
dnf install mock -y
wget https://kojipkgs.fedoraproject.org//packages/gkrellm/2.4.0/1.fc42/src/gkrellm-2.4.0-1.fc42.src.rpm
mock -r rocky+epel-10-x86_64 gkrellm-2.4.0-1.fc42.src.rpm

Requested a package, hopefully, I did it correct

Got a reply, its now built for 10 and 10.1 have installed it and will see how it behaves.

gkrellm-2.4.0-5.el10_1 | Build Info | koji