How to Install and Uninstall libopencv-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "libopencv-dev" package

This is a short guide on how to install libopencv-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libopencv-dev

2. Uninstall "libopencv-dev" package

This guide let you learn how to uninstall libopencv-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libopencv-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libopencv-dev
Architecture: amd64
Version: 3.2.0+dfsg-4ubuntu0.1
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: 717
Depends: libopencv-calib3d-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-contrib-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-core-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-features2d-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-flann-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-highgui-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgcodecs-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-imgproc-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-ml-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-objdetect-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-photo-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-shape-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-stitching-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-superres-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-ts-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-video-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videoio-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-videostab-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv-viz-dev (= 3.2.0+dfsg-4ubuntu0.1), libopencv3.2-java (= 3.2.0+dfsg-4ubuntu0.1), pkg-config, libc6 (>= 2.27), libgcc1 (>= 1:3.0), libopencv-calib3d3.2, libopencv-contrib3.2, libopencv-core3.2, libopencv-features2d3.2, libopencv-highgui3.2, libopencv-imgcodecs3.2, libopencv-imgproc3.2, libopencv-videoio3.2, libstdc++6 (>= 5.2), libtbb2
Recommends: opencv-data
Suggests: opencv-doc
Conflicts: libcv-dev, libcvaux-dev, libhighgui-dev
Breaks: libopencv-core-dev (<= 2.3.1-8)
Replaces: libcv-dev, libcvaux-dev, libhighgui-dev
Filename: pool/universe/o/opencv/libopencv-dev_3.2.0+dfsg-4ubuntu0.1_amd64.deb
Size: 222636
MD5sum: b068c2c7e399ce92fc58b7709f713a93
SHA1: 507ec1d54d36c32475b10a313a63070e7fd26e5c
SHA256: 248cbe4391025ada60db9c0ec51766e9866cb06156223716ca44182b687da73b
SHA512: 2eaf737d401295f42060df2bcb92d050a369ca62c7fa29611ada076512a01e9542dd136c409b2cae46d18640221e4f04a2ee974d41b56a31a5502cc0864fed96
Homepage: https://opencv.org
Description: development files for opencv
Description-md5: f9dc67381f1013c39fe59842c79cbddf
Supported: 3y

Package: libopencv-dev
Architecture: amd64
Version: 3.2.0+dfsg-4build2
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: 717
Depends: libopencv-calib3d-dev (= 3.2.0+dfsg-4build2), libopencv-contrib-dev (= 3.2.0+dfsg-4build2), libopencv-core-dev (= 3.2.0+dfsg-4build2), libopencv-features2d-dev (= 3.2.0+dfsg-4build2), libopencv-flann-dev (= 3.2.0+dfsg-4build2), libopencv-highgui-dev (= 3.2.0+dfsg-4build2), libopencv-imgcodecs-dev (= 3.2.0+dfsg-4build2), libopencv-imgproc-dev (= 3.2.0+dfsg-4build2), libopencv-ml-dev (= 3.2.0+dfsg-4build2), libopencv-objdetect-dev (= 3.2.0+dfsg-4build2), libopencv-photo-dev (= 3.2.0+dfsg-4build2), libopencv-shape-dev (= 3.2.0+dfsg-4build2), libopencv-stitching-dev (= 3.2.0+dfsg-4build2), libopencv-superres-dev (= 3.2.0+dfsg-4build2), libopencv-ts-dev (= 3.2.0+dfsg-4build2), libopencv-video-dev (= 3.2.0+dfsg-4build2), libopencv-videoio-dev (= 3.2.0+dfsg-4build2), libopencv-videostab-dev (= 3.2.0+dfsg-4build2), libopencv-viz-dev (= 3.2.0+dfsg-4build2), libopencv3.2-java (= 3.2.0+dfsg-4build2), pkg-config, libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopencv-calib3d3.2, libopencv-contrib3.2, libopencv-core3.2, libopencv-features2d3.2, libopencv-highgui3.2, libopencv-imgcodecs3.2, libopencv-imgproc3.2, libopencv-videoio3.2, libstdc++6 (>= 5.2), libtbb2
Recommends: opencv-data
Suggests: opencv-doc
Conflicts: libcv-dev, libcvaux-dev, libhighgui-dev
Breaks: libopencv-core-dev (<= 2.3.1-8)
Replaces: libcv-dev, libcvaux-dev, libhighgui-dev
Filename: pool/universe/o/opencv/libopencv-dev_3.2.0+dfsg-4build2_amd64.deb
Size: 222552
MD5sum: 6305591281cf98ad6608552a050caa7d
SHA1: a9c110091db61f6358d2bbdab18ad31b6971fa07
SHA256: 490deb1c352d0b11a23171fceabd8dbd783f058a16e4ea83fd2aad7f62cf5a01
Homepage: https://opencv.org
Description: development files for opencv
Description-md5: f9dc67381f1013c39fe59842c79cbddf
Supported: 3y