How To Install opencv-core on Rocky Linux 8
Introduction
In this tutorial we learn how to install opencv-core
on Rocky Linux 8.
What is opencv-core
This package contains the OpenCV C/C++ core libraries.
We can use yum
or dnf
to install opencv-core
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opencv-core.
Install opencv-core on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the opencv-core
package we can use the following command:
sudo dnf remove opencv-core
opencv-core Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/afe505dc3b797fbd7134c259e329cad6202563
/usr/lib/.build-id/12
/usr/lib/.build-id/12/b68dbcf308ade84e6b158098614a5dd7bb8d8f
/usr/lib/.build-id/38
/usr/lib/.build-id/38/abbf0d8d41b219b5ad013135bf313dbbbca9c1
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/dd4e8116ad35ea67330d8662013d252b3d460d
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/8839a6b7cf705912115a101ba4fe1ddbcea7be
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/545f808ba2ea7579b6a60e0538952de0ff5408
/usr/lib/.build-id/62
/usr/lib/.build-id/62/c64e354fcbe630c94c8b888bbdff67e91b8838
/usr/lib/.build-id/69
/usr/lib/.build-id/69/fdc95f75fe59fb0d1f478f5b455c20eeefbde7
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/4272a5be705f8422c511027b6657730c29a89b
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/490339f9789e42dd3654e857059387a637a87d
/usr/lib/.build-id/94
/usr/lib/.build-id/94/ca938aee6c8d2382b51f5101ae16bbfb05221a
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/e95b6aab58d9e31a0d4965890b70b0aed688d1
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/01e1dd4be61476b62cd3bd0be521947501e14b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/386e1e01c49fb38c5b126c86805b10a445f581
/usr/lib/.build-id/da
/usr/lib/.build-id/da/b3ecfb9e4c69d675f8083cf7c4b0613a006d1e
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/b92a9ef854940acb15bdb54ad891f093facba9
/usr/lib64/libopencv_calib3d.so.3.4
/usr/lib64/libopencv_calib3d.so.3.4.6
/usr/lib64/libopencv_core.so.3.4
/usr/lib64/libopencv_core.so.3.4.6
/usr/lib64/libopencv_features2d.so.3.4
/usr/lib64/libopencv_features2d.so.3.4.6
/usr/lib64/libopencv_flann.so.3.4
/usr/lib64/libopencv_flann.so.3.4.6
/usr/lib64/libopencv_highgui.so.3.4
/usr/lib64/libopencv_highgui.so.3.4.6
/usr/lib64/libopencv_imgcodecs.so.3.4
/usr/lib64/libopencv_imgcodecs.so.3.4.6
/usr/lib64/libopencv_imgproc.so.3.4
/usr/lib64/libopencv_imgproc.so.3.4.6
/usr/lib64/libopencv_ml.so.3.4
/usr/lib64/libopencv_ml.so.3.4.6
/usr/lib64/libopencv_objdetect.so.3.4
/usr/lib64/libopencv_objdetect.so.3.4.6
/usr/lib64/libopencv_photo.so.3.4
/usr/lib64/libopencv_photo.so.3.4.6
/usr/lib64/libopencv_shape.so.3.4
/usr/lib64/libopencv_shape.so.3.4.6
/usr/lib64/libopencv_stitching.so.3.4
/usr/lib64/libopencv_stitching.so.3.4.6
/usr/lib64/libopencv_superres.so.3.4
/usr/lib64/libopencv_superres.so.3.4.6
/usr/lib64/libopencv_video.so.3.4
/usr/lib64/libopencv_video.so.3.4.6
/usr/lib64/libopencv_videoio.so.3.4
/usr/lib64/libopencv_videoio.so.3.4.6
/usr/lib64/libopencv_videostab.so.3.4
/usr/lib64/libopencv_videostab.so.3.4.6
/usr/share/licenses/opencv3
/usr/share/licenses/opencv3/SoftFloat-COPYING.txt
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/76101b894355efc9e1fe217ae0b67cc8655230
/usr/lib/.build-id/46
/usr/lib/.build-id/46/234861f12a0bf7ed767c9dc37703116bb042eb
/usr/lib/.build-id/61
/usr/lib/.build-id/61/44d56038b803be2be69bfafab6b5780c0afe23
/usr/lib/.build-id/71
/usr/lib/.build-id/71/0cda119b83cf3b98857e43725927d89f3ea1ac
/usr/lib/.build-id/78
/usr/lib/.build-id/78/50868d5bce1b4bef7baaa819c5ec568f923648
/usr/lib/.build-id/87
/usr/lib/.build-id/87/0df23a31c3da73e7ec570b50da468c3d62d281
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ba1cbc5533759a31276e1c72659a27e991d61b
/usr/lib/.build-id/96
/usr/lib/.build-id/96/1a5e4ad473a757f39469434f815e4a6ce5109a
/usr/lib/.build-id/97
/usr/lib/.build-id/97/fda080ea6fe67f761df74bf9630e586af1effb
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/a24a5663473874c765ca9dd1fe99df32bd1ba6
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/5fd2e3b334f7728d66dd59706f616fb63f1429
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/99bd6e7370fb383b03f977026f88d1056b7275
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/fa03c4217b7f35139464ec87a624dff3f8e135
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/eb33021b0ff5b5272725a9d35020da70c6d113
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/ea4517c6369475a7d084d24c97665c661dc7f4
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/528304cc3b16f962b0d3263a9f84f256f3b05b
/usr/lib/libopencv_calib3d.so.3.4
/usr/lib/libopencv_calib3d.so.3.4.6
/usr/lib/libopencv_core.so.3.4
/usr/lib/libopencv_core.so.3.4.6
/usr/lib/libopencv_features2d.so.3.4
/usr/lib/libopencv_features2d.so.3.4.6
/usr/lib/libopencv_flann.so.3.4
/usr/lib/libopencv_flann.so.3.4.6
/usr/lib/libopencv_highgui.so.3.4
/usr/lib/libopencv_highgui.so.3.4.6
/usr/lib/libopencv_imgcodecs.so.3.4
/usr/lib/libopencv_imgcodecs.so.3.4.6
/usr/lib/libopencv_imgproc.so.3.4
/usr/lib/libopencv_imgproc.so.3.4.6
/usr/lib/libopencv_ml.so.3.4
/usr/lib/libopencv_ml.so.3.4.6
/usr/lib/libopencv_objdetect.so.3.4
/usr/lib/libopencv_objdetect.so.3.4.6
/usr/lib/libopencv_photo.so.3.4
/usr/lib/libopencv_photo.so.3.4.6
/usr/lib/libopencv_shape.so.3.4
/usr/lib/libopencv_shape.so.3.4.6
/usr/lib/libopencv_stitching.so.3.4
/usr/lib/libopencv_stitching.so.3.4.6
/usr/lib/libopencv_superres.so.3.4
/usr/lib/libopencv_superres.so.3.4.6
/usr/lib/libopencv_video.so.3.4
/usr/lib/libopencv_video.so.3.4.6
/usr/lib/libopencv_videoio.so.3.4
/usr/lib/libopencv_videoio.so.3.4.6
/usr/lib/libopencv_videostab.so.3.4
/usr/lib/libopencv_videostab.so.3.4.6
/usr/share/licenses/opencv3
/usr/share/licenses/opencv3/SoftFloat-COPYING.txt
References
Summary
In this tutorial we learn how to install opencv-core
on Rocky Linux 8 using yum and dnf.