can't find OpenCV package on RHEL 8

Viewed 103

Some sites say OpenCV could be installed on RHEL from the system repository:

sudo yum install opencv opencv-devel opencv-python

I run RHEL UBI container redhat/ubi8 and tried to install OpenCV - package is not found. Then I install EPEL repos from https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm, same result. The only opencv-related package is libfreenect-opencv.

I understand I could compile OpenCV from the scratch, but I'd like to go with already compiled package.

1 Answers

You need to enable CodeReady Linux Builder Repository on RHEL 8:

subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
Related