The package names in the KStars and INDI installation instructions are Ubuntu-based so you'll probably need to translate those to CentOS names. If that's not it then perhaps you could inform us more about what you did when "installing the prerequisites" and in what way it went wrong.
Wouter van Reeven
ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
There are instructions for Fedora but as far as I know there is no repository for Centos. To try a build from source you will need to discover the equivalent Centos library names. If you also want to run Kstars/Ekos I expect a build would also be needed to get the bleeding version of Kstars. For myself I would not go there, more pain than gain. Running ubuntu in a virtual machine could be an alternative.
When I was building indilib on Fedora the following are the libraries used, depending on your version of CentOS names might be similar.
Thank you for the suggestions. I was able to find all of these libraries for CentOS 8 except for the first two: libnova and libnova-devel. I was only able to find them for CentOS 7. Is there another way I can build these two libraries on CentOS?
I've added the EPEL repo, but it seems the libnova library is only in the CentOS 7 EPEL repo. The CentOS 8 EPEL repo does not contain libnova. Is there another way for me to install this library without downloading from a repo? Sorry if that's a dumb question, I'm still getting used to Linux-based systems.
I would ask in the CentOS forum where it can be found, they are helpful. It might have been picked up by another group like rpmfusion sometimes these things move depending on the repo's defined purpose. As a last resort libnova.sourceforge.net/ provide the sources if you can figure from the git sources how to build the library.