How To Install opencv-core on Fedora 36

In this tutorial we learn how to install opencv-core in Fedora 36. opencv-core is OpenCV core libraries

Introduction

In this tutorial we learn how to install opencv-core on Fedora 36.

What is opencv-core

This package contains the OpenCV C/C++ core libraries.

We can use yum or dnf to install opencv-core on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opencv-core.

Install opencv-core on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install opencv-core using dnf by running the following command:

sudo dnf -y install opencv-core

Install opencv-core on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install opencv-core using yum by running the following command:

sudo yum -y install opencv-core

How To Uninstall opencv-core on Fedora 36

To uninstall only the opencv-core package we can use the following command:

sudo dnf remove opencv-core

opencv-core Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/8694b132ef4bb4164de8553943f907d2647373
/usr/lib/.build-id/1f/a2f3064b55a205c29591a4959d34d1695c0301
/usr/lib/.build-id/21
/usr/lib/.build-id/21/e3b4e5e2f7ed169cda437626c0a66e54e46510
/usr/lib/.build-id/33
/usr/lib/.build-id/33/8c26915d4e7cc9d7084bfc1e9d9e66e9775d65
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/65dd66c9979f163727807fa701e57d63a93695
/usr/lib/.build-id/89
/usr/lib/.build-id/89/456fd311091edc3cb0b621d293a7acc2319aeb
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/b8bc57758f9d87d634040485d9811105975486
/usr/lib/.build-id/93
/usr/lib/.build-id/93/eb45bf16eec5eeed89d47e6e2e0b7fd20057b9
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/696c2b59e7e04994b3b2252f6d9658ce1c29e4
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/556dec203fd9ee62080353f91233966d5679aa
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/d71dd1e20abed45aa8f892d5f797849bb8a8a5
/usr/lib/.build-id/da
/usr/lib/.build-id/da/3f9ed7f7ef7594ce4ae7a073240cd9ebc736eb
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/e075c6d232219fa806bffd383ee0d22b1099b9
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/749aa6206b32bdd8d90252ba71e7fd9bc3913b
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/0a77a88ce2bfa90d7f7a01d19236065d7b1042
/usr/lib64/libopencv_calib3d.so.4.5
/usr/lib64/libopencv_calib3d.so.4.5.5
/usr/lib64/libopencv_core.so.4.5
/usr/lib64/libopencv_core.so.4.5.5
/usr/lib64/libopencv_dnn.so.4.5
/usr/lib64/libopencv_dnn.so.4.5.5
/usr/lib64/libopencv_features2d.so.4.5
/usr/lib64/libopencv_features2d.so.4.5.5
/usr/lib64/libopencv_flann.so.4.5
/usr/lib64/libopencv_flann.so.4.5.5
/usr/lib64/libopencv_gapi.so.4.5
/usr/lib64/libopencv_gapi.so.4.5.5
/usr/lib64/libopencv_highgui.so.4.5
/usr/lib64/libopencv_highgui.so.4.5.5
/usr/lib64/libopencv_imgcodecs.so.4.5
/usr/lib64/libopencv_imgcodecs.so.4.5.5
/usr/lib64/libopencv_imgproc.so.4.5
/usr/lib64/libopencv_imgproc.so.4.5.5
/usr/lib64/libopencv_ml.so.4.5
/usr/lib64/libopencv_ml.so.4.5.5
/usr/lib64/libopencv_objdetect.so.4.5
/usr/lib64/libopencv_objdetect.so.4.5.5
/usr/lib64/libopencv_photo.so.4.5
/usr/lib64/libopencv_photo.so.4.5.5
/usr/lib64/libopencv_stitching.so.4.5
/usr/lib64/libopencv_stitching.so.4.5.5
/usr/lib64/libopencv_video.so.4.5
/usr/lib64/libopencv_video.so.4.5.5
/usr/lib64/libopencv_videoio.so.4.5
/usr/lib64/libopencv_videoio.so.4.5.5
/usr/share/licenses/opencv-core
/usr/share/licenses/opencv-core/LICENSE
/usr/share/licenses/opencv4
/usr/share/licenses/opencv4/SoftFloat-COPYING.txt
/usr/share/licenses/opencv4/ade-LICENSE
/usr/share/licenses/opencv4/quirc-LICENSE

References

Summary

In this tutorial we learn how to install opencv-core on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install opencv-core on Fedora 36” linkTitle: “opencv-core” type: “docs” description: “In this tutorial we learn how to install opencv-core in Fedora 36. opencv-core is OpenCV core libraries” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/opencv-core-featured.png

Introduction

In this tutorial we learn how to install opencv-core on Fedora 36.

What is opencv-core

This package contains the OpenCV C/C++ core libraries.

We can use yum or dnf to install opencv-core on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opencv-core.

Install opencv-core on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install opencv-core using dnf by running the following command:

sudo dnf -y install opencv-core

Install opencv-core on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install opencv-core using yum by running the following command:

sudo yum -y install opencv-core

How To Uninstall opencv-core on Fedora 36

To uninstall only the opencv-core package we can use the following command:

sudo dnf remove opencv-core

opencv-core Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/9fc6dff97e90e2451f596507b3f7f7180813c4
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/167fc7b5e6a5e5b06cd1df7433120f5f70d52b
/usr/lib/.build-id/55
/usr/lib/.build-id/55/50df17fdcbe68d58bb43e6bbe66660a381bb9f
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/2db77d14d22402a09c4bbdf30fce4dc3d20b31
/usr/lib/.build-id/62
/usr/lib/.build-id/62/680387fa7d4a9a627524b5de4f0266cc365e6f
/usr/lib/.build-id/87/efde5b29d992b33c4c9300ef8870b3c80c3408
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/6b0a9852495ea2a0d90d8316473ad355efc2b6
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/5705a9484f3f23c7c36f110e1114c83b198f7b
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/1d2772906de5e72060f07b191e1e830b899429
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/d3b76275e015d41224997ef237ada5d68b8f0e
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/e920e156a70f718e02b0871a84f73211180f49
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/1e4fedd7ff83414f4de1b932f76a59857bedd5
/usr/lib/.build-id/c6/42e7835f7bbd4d22d0fd4f84b93129fa5065a8
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/5af1ad2e98b48221037f564ed92b507a1c240f
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/758cb5ce38c136e1ed0dbd529278945977a8d4
/usr/lib/libopencv_calib3d.so.4.5
/usr/lib/libopencv_calib3d.so.4.5.5
/usr/lib/libopencv_core.so.4.5
/usr/lib/libopencv_core.so.4.5.5
/usr/lib/libopencv_dnn.so.4.5
/usr/lib/libopencv_dnn.so.4.5.5
/usr/lib/libopencv_features2d.so.4.5
/usr/lib/libopencv_features2d.so.4.5.5
/usr/lib/libopencv_flann.so.4.5
/usr/lib/libopencv_flann.so.4.5.5
/usr/lib/libopencv_gapi.so.4.5
/usr/lib/libopencv_gapi.so.4.5.5
/usr/lib/libopencv_highgui.so.4.5
/usr/lib/libopencv_highgui.so.4.5.5
/usr/lib/libopencv_imgcodecs.so.4.5
/usr/lib/libopencv_imgcodecs.so.4.5.5
/usr/lib/libopencv_imgproc.so.4.5
/usr/lib/libopencv_imgproc.so.4.5.5
/usr/lib/libopencv_ml.so.4.5
/usr/lib/libopencv_ml.so.4.5.5
/usr/lib/libopencv_objdetect.so.4.5
/usr/lib/libopencv_objdetect.so.4.5.5
/usr/lib/libopencv_photo.so.4.5
/usr/lib/libopencv_photo.so.4.5.5
/usr/lib/libopencv_stitching.so.4.5
/usr/lib/libopencv_stitching.so.4.5.5
/usr/lib/libopencv_video.so.4.5
/usr/lib/libopencv_video.so.4.5.5
/usr/lib/libopencv_videoio.so.4.5
/usr/lib/libopencv_videoio.so.4.5.5
/usr/share/licenses/opencv-core
/usr/share/licenses/opencv-core/LICENSE
/usr/share/licenses/opencv4
/usr/share/licenses/opencv4/SoftFloat-COPYING.txt
/usr/share/licenses/opencv4/ade-LICENSE
/usr/share/licenses/opencv4/quirc-LICENSE

References

Summary

In this tutorial we learn how to install opencv-core on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).