You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Updating installation instructions, adding package manager installation and macOS #13822
This link contains links to installation instructions for Linux, Windows and iOS, but not macOS.
A lot of macOS users will know that they can probably use the instructions for Linux (they can right? I'm not 100% sure) - but it's not safe to assume that they all will. Also, the Linux instructions do not mention that they can work on macOS, too (they only sayThe following steps have been tested for Ubuntu 10.04 but should work with other distros as well.).
I don't have too much knowledge about OpenCV, but I feel like those instructions (for Linux, for example) should be updated. The fact that they mention testing on Ubuntu 10.04 is a hint towards that. They are also 100 lines long (if counting a few whitespace-only lines) and yet never mention installing via something like apt-get opencv. Is there a reason there isn't a package manager installation? I found instructions to install with brew on macOS, could that just be added there?
Is there a reason there isn't a package manager installation
We don't build official packages for Linux distributions.
Ubuntu 18.04 ships OpenCV 3.2 (released 2+ years ago, can't be updated due several reasons - compatibility at first). This may work for some part of users, but we recommend using fresh releases with latest bugfixes and optimizations.
Installation from package managers (apt, homebrew, pip) are usually covered by package managers documentation.
It would be useful to describe how to build OpenCV from the source code.
I believe we can add separate instruction for MacOSX.
Lets avoid mess with Linux guide. 50 duplicated lines usually look better than 200 lines of text "under" many conditions.
I understand. In that case, in my opinion it would be very helpful to mention that a package manager installation is possible (but not officially supported, if that's the case) - and perhaps link to the corresponding places in some popular package managers' documentation.
I agree with the sentiment you expressed about nesting conditional instructions in a tutorial/documentation. Glad that my suggestion for macOS instuction found some ground, too.
Reacted by Alexander Alekhin, Ted Steiner, Daniyar Kussainov and Michael Yang
Activity
alalek commentedon Feb 13, 2019
We don't build official packages for Linux distributions.
Ubuntu 18.04 ships OpenCV 3.2 (released 2+ years ago, can't be updated due several reasons - compatibility at first). This may work for some part of users, but we recommend using fresh releases with latest bugfixes and optimizations.
Installation from package managers (apt, homebrew, pip) are usually covered by package managers documentation.
It would be useful to describe how to build OpenCV from the source code.
I believe we can add separate instruction for MacOSX.
Lets avoid mess with Linux guide. 50 duplicated lines usually look better than 200 lines of text "under" many conditions.
janek commentedon Feb 14, 2019
I understand. In that case, in my opinion it would be very helpful to mention that a package manager installation is possible (but not officially supported, if that's the case) - and perhaps link to the corresponding places in some popular package managers' documentation.
I agree with the sentiment you expressed about nesting conditional instructions in a tutorial/documentation. Glad that my suggestion for macOS instuction found some ground, too.
kmuchmore commentedon Feb 28, 2019
The docs on https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubuntu.html contain package names like
ffmpeg-devel, andlibpng-devel. If I run through those instructions I get manyunable to locate package <package-name>-develerrors. I think many of those package names are CentOS/Redhat yum package names and not Ubuntu/Debian apt package names.