How to Install and Uninstall libopencv-dev Package on Debian 10 (Buster)

Last updated: November 05,2024

1. Install "libopencv-dev" package

Please follow the steps below to install libopencv-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libopencv-dev

2. Uninstall "libopencv-dev" package

Please follow the guidance below to uninstall libopencv-dev on Debian 10 (Buster):

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

3. Information about the libopencv-dev package on Debian 10 (Buster)

Package: libopencv-dev
Source: opencv
Version: 3.2.0+dfsg-6
Installed-Size: 761
Maintainer: Debian Science Team
Architecture: amd64
Replaces: libcv-dev, libcvaux-dev, libhighgui-dev
Depends: libopencv-calib3d-dev (= 3.2.0+dfsg-6), libopencv-contrib-dev (= 3.2.0+dfsg-6), libopencv-core-dev (= 3.2.0+dfsg-6), libopencv-features2d-dev (= 3.2.0+dfsg-6), libopencv-flann-dev (= 3.2.0+dfsg-6), libopencv-highgui-dev (= 3.2.0+dfsg-6), libopencv-imgcodecs-dev (= 3.2.0+dfsg-6), libopencv-imgproc-dev (= 3.2.0+dfsg-6), libopencv-ml-dev (= 3.2.0+dfsg-6), libopencv-objdetect-dev (= 3.2.0+dfsg-6), libopencv-photo-dev (= 3.2.0+dfsg-6), libopencv-shape-dev (= 3.2.0+dfsg-6), libopencv-stitching-dev (= 3.2.0+dfsg-6), libopencv-superres-dev (= 3.2.0+dfsg-6), libopencv-ts-dev (= 3.2.0+dfsg-6), libopencv-video-dev (= 3.2.0+dfsg-6), libopencv-videoio-dev (= 3.2.0+dfsg-6), libopencv-videostab-dev (= 3.2.0+dfsg-6), libopencv-viz-dev (= 3.2.0+dfsg-6), libopencv3.2-java (= 3.2.0+dfsg-6), pkg-config, libc6 (>= 2.27), libgcc1 (>= 1:3.0), libopencv-calib3d3.2, libopencv-contrib3.2, libopencv-core3.2, libopencv-features2d3.2, libopencv-flann3.2, libopencv-highgui3.2, libopencv-imgcodecs3.2, libopencv-imgproc3.2, libopencv-ml3.2, libopencv-objdetect3.2, libopencv-videoio3.2, libstdc++6 (>= 5.2), libtbb2 (>= 2017~U7)
Recommends: opencv-data
Suggests: opencv-doc
Conflicts: libcv-dev, libcvaux-dev, libhighgui-dev
Breaks: libopencv-core-dev (<= 2.3.1-8)
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_3.2.0+dfsg-6_amd64.deb
Size: 240312
MD5sum: 650d66031e27fe40f0132cd36c2af4b0
SHA256: 39d8a36c3bdcec1218cc2f7db1a11db283b793c864913f9cb53d33d5b383723b