How to Install and Uninstall libopencv-dev Package on Debian 12 (Bookworm)

Last updated: December 26,2024

1. Install "libopencv-dev" package

Here is a brief guide to show you how to install libopencv-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libopencv-dev

2. Uninstall "libopencv-dev" package

Please follow the steps below to uninstall libopencv-dev on Debian 12 (Bookworm):

$ sudo apt remove libopencv-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libopencv-dev package on Debian 12 (Bookworm)

Package: libopencv-dev
Source: opencv
Version: 4.6.0+dfsg-12
Installed-Size: 357
Maintainer: Debian Science Team
Architecture: amd64
Depends: libopencv-calib3d-dev (= 4.6.0+dfsg-12), libopencv-contrib-dev (= 4.6.0+dfsg-12), libopencv-core-dev (= 4.6.0+dfsg-12), libopencv-dnn-dev (= 4.6.0+dfsg-12), libopencv-features2d-dev (= 4.6.0+dfsg-12), libopencv-flann-dev (= 4.6.0+dfsg-12), libopencv-highgui-dev (= 4.6.0+dfsg-12), libopencv-imgcodecs-dev (= 4.6.0+dfsg-12), libopencv-imgproc-dev (= 4.6.0+dfsg-12), libopencv-ml-dev (= 4.6.0+dfsg-12), libopencv-objdetect-dev (= 4.6.0+dfsg-12), libopencv-photo-dev (= 4.6.0+dfsg-12), libopencv-shape-dev (= 4.6.0+dfsg-12), libopencv-stitching-dev (= 4.6.0+dfsg-12), libopencv-superres-dev (= 4.6.0+dfsg-12), libopencv-video-dev (= 4.6.0+dfsg-12), libopencv-videoio-dev (= 4.6.0+dfsg-12), libopencv-videostab-dev (= 4.6.0+dfsg-12), libopencv-viz-dev (= 4.6.0+dfsg-12), pkg-config, libc6 (>= 2.34), libgcc-s1 (>= 3.0), libopencv-calib3d406 (>= 4.6.0+dfsg), libopencv-contrib406 (>= 4.6.0+dfsg), libopencv-core406 (>= 4.6.0+dfsg), libopencv-dnn406 (>= 4.6.0+dfsg), libopencv-features2d406 (>= 4.6.0+dfsg), libopencv-highgui406 (>= 4.6.0+dfsg), libopencv-imgcodecs406 (>= 4.6.0+dfsg), libopencv-imgproc406 (>= 4.6.0+dfsg), libopencv-videoio406 (>= 4.6.0+dfsg), libstdc++6 (>= 11), libilmbase-dev
Recommends: opencv-data, libopencv-java (= 4.6.0+dfsg-12)
Suggests: opencv-doc
Description: development files for opencv
Description-md5: f9dc67381f1013c39fe59842c79cbddf
Homepage: https://opencv.org
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/o/opencv/libopencv-dev_4.6.0+dfsg-12_amd64.deb
Size: 86612
MD5sum: 3af7851eaf2dced50e5d779cee95c7ba
SHA256: a231fbe0f7af72ae84dc5ad262114635d35f014fef60422b1bb90cc150073a67