7

I tried compiling it from source, but it turns out many libraries are missing like the Nonfree. Is it advisable to install it with dnf ? I have Fedora 23

alchemist95
  • 759
  • 2
  • 9
  • 26

3 Answers3

8
sudo dnf install opencv opencv-devel
yorkyer
  • 91
  • 1
  • 2
6

On fedora you can install Opencv simply by:

[root@localhost ML]# dnf install opencv
Failed to synchronize cache for repo 'Dropbox', disabling.
Last metadata expiration check: 1:24:09 ago on Mon 27 Nov 2017 
04:56:00 PM IST.
Dependencies resolved.

Total download size: 1.6 M
Installed size: 10 M
Is this ok [y/N]: 
NILESH KUMAR
  • 413
  • 5
  • 10
3

I guess the best way would be

dnf install opencv

since the package is in official repositories.

Jakuje
  • 24,773
  • 12
  • 69
  • 75