How to get lcov

Latest response

I'm converting from CentOS 7.* to RH 8.3.

Once of my requirements is lcov. However, with CentOS it's in the EPEL. With RH8 it is not. I cannot seem to find this package.

Any one know where I can get it?

Responses

I see that it exists here, for Fedora (RHEL 8 is based on Fedora, version 28 I believe)

https://bodhi.fedoraproject.org/updates/?search=lcov

EPEL packages are unsupported, and don't automatically get added to next EPEL version. You might ask a maintainer to add it. I have done it for several packages with success.

https://fedoraproject.org/wiki/Getting_a_Fedora_package_in_EPEL

For more info about how things work, see

https://fedoraproject.org/wiki/EPEL/FAQ#Why_isn.27t_a_package_in_EPEL-7_when_it_is_in_EPEL-6.3F

Hi Terje,

Jason says he wants move to RHEL 8 ... unfortunately lcov is currently not available from the EPEL 8 repositories. :)

Regards,
Christian

Yes. When we moved to RHEL8 we were missing several packages, and we don't want to have a lot of "random" places to get packages from.

I followed the procedure in the links I provided above, and the helpful maintainers said, "sure, we can add it" for almost all of the packages. If they already exist and are built for Fedora without problems, it is usually quite simple as far as I understood.

So it seems to me that packages in one version of EPEL doesn't all automatically go into a new version. The maintainers need to know ( or at least think ) that someone needs them.

Hi Terje,

Thank you for the additional explanation and for sharing your experience with the EPEL team. :)

Regards,
Christian

Hi Jason,

What you can try is download the matching lcov version from the Fedora repositories, and install it manually. Possibly you might
run into dependency issues which then have to get resolved. Please note that such a workaround is not supported by Red Hat. :)

Regards,
Christian

Thank you! I pulled the RPM from Fedora 33 and it was able to install with the dependencies that I already had downloaded.

You're welcome, Jason ! Glad you could achieve what you wanted. :)

Regards,
Christian