Question on using Yum to install version 4.5.1

Hi, I am relatively new to opencv and yum.
I am able to do yum install opencv-2.4.5
Is there a repo that I can point to ( in yum.repos.d ) so that I can do yum install opencv-4.5.1 ?

$ repoquery -i opencv

Name : opencv
Version : 2.4.5
Release : 3.el7
Architecture: x86_64
Size : 26467638
Packager : CentOS BuildSystem
Group : Development/Libraries
Repository : base
Summary : Collection of algorithms for computer vision
Source : opencv-2.4.5-3.el7.src.rpm
Description :

you should talk to

because they

for comparison:

  • latest 2.x is from Feb 2018 (end of life)
  • latest 3.x is 3.4.16 from Oct 2021 (end of life)
  • 4.0.0 release is from Nov 2018 (4.x is currently the primary release)

you’d best ditch C++, go with python, and get the official opencv-python package. no, python isn’t “slow”, if you know how. but that’s another discussion.

if not that, then you’re stuck building your own OpenCV, or figuring out how to do the packaging, and maybe taking over the management of CentOS’s OpenCV package

or see if you can install RPMs from elsewhere. or reconsider the decision to use CentOS because that isn’t stable, it’s stale, and a security risk.

sorry, that’s just how it is.