How to Install and Uninstall libopencv-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 24,2024

1. Install "libopencv-dev" package

Please follow the guidance below to install libopencv-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libopencv-dev

2. Uninstall "libopencv-dev" package

Please follow the steps below to uninstall libopencv-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libopencv-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libopencv-dev
Architecture: amd64
Version: 4.5.1+dfsg-4ubuntu1
Priority: optional
Section: universe/libdevel
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 370
Depends: libopencv-calib3d-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-contrib-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-core-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-dnn-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-features2d-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-flann-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-highgui-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-imgcodecs-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-imgproc-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-ml-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-objdetect-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-photo-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-shape-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-stitching-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-superres-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-video-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-videoio-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-videostab-dev (= 4.5.1+dfsg-4ubuntu1), libopencv-viz-dev (= 4.5.1+dfsg-4ubuntu1), pkg-config, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libopencv-calib3d4.5 (>= 4.5.1+dfsg), libopencv-contrib4.5 (>= 4.5.1+dfsg), libopencv-core4.5 (>= 4.5.1+dfsg), libopencv-features2d4.5 (>= 4.5.1+dfsg), libopencv-highgui4.5 (>= 4.5.1+dfsg), libopencv-imgcodecs4.5 (>= 4.5.1+dfsg), libopencv-imgproc4.5 (>= 4.5.1+dfsg), libopencv-videoio4.5 (>= 4.5.1+dfsg), libstdc++6 (>= 9), libilmbase-dev
Recommends: opencv-data, libopencv4.5-java (= 4.5.1+dfsg-4ubuntu1)
Suggests: opencv-doc
Conflicts: libcv-dev, libcvaux-dev, libhighgui-dev
Replaces: libcv-dev, libcvaux-dev, libhighgui-dev
Filename: pool/universe/o/opencv/libopencv-dev_4.5.1+dfsg-4ubuntu1_amd64.deb
Size: 86136
MD5sum: e169cb11b0fd66afa7d43cbfcd4e12c2
SHA1: bc491bba1714b333ea3f6e1759f6557ad71c69e3
SHA256: 20ba8f3d8f77f9f40e5a8a6f371e453e264f868142278daebac5a9d7ea3618df
SHA512: e87a6cfe43792e3f60dc731ed46aa0def026e86783c9055312056d0dccce778716f518c844235bfb954744ff45e3af721d835b59d0bc31529dcc8c79fb6b85b0
Homepage: https://opencv.org
Description-en: development files for opencv
This is a metapackage providing development package necessary for
development of OpenCV (Open Computer Vision).
.
The Open Computer Vision Library is a collection of algorithms and sample
code for various computer vision problems. The library is compatible with
IPL (Intel's Image Processing Library) and, if available, can use IPP
(Intel's Integrated Performance Primitives) for better performance.
.
OpenCV provides low level portable data types and operators, and a set
of high level functionalities for video acquisition, image processing and
analysis, structural analysis, motion analysis and object tracking, object
recognition, camera calibration and 3D reconstruction.
Description-md5: f9dc67381f1013c39fe59842c79cbddf