How to Install and Uninstall libopencv-dnn-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "libopencv-dnn-dev" package

This is a short guide on how to install libopencv-dnn-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libopencv-dnn-dev

2. Uninstall "libopencv-dnn-dev" package

Please follow the step by step instructions below to uninstall libopencv-dnn-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libopencv-dnn-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libopencv-dnn-dev
Architecture: amd64
Version: 4.2.0+dfsg-5
Multi-Arch: same
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: 11030
Depends: libopencv-core-dev (= 4.2.0+dfsg-5), libopencv-dnn4.2 (= 4.2.0+dfsg-5)
Filename: pool/universe/o/opencv/libopencv-dnn-dev_4.2.0+dfsg-5_amd64.deb
Size: 1282744
MD5sum: 9d09933885b1ce995f03995783235bba
SHA1: 1e2eac9777cb6f526a1d6fbbf6510034f0653cb9
SHA256: 1064c4953bd7c7b197a34087e10bc983d733a31cc4eb505a9d7d75256f05f5a7
Homepage: https://opencv.org
Description: development files for libopencv-dnn4.2
Description-md5: fa4d0db6ffdd5a46445bc0a0e992d354