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

Last updated: November 26,2024

1. Install "libopencv-highgui-dev" package

In this section, we are going to explain the necessary steps to install libopencv-highgui-dev on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "libopencv-highgui-dev" package

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

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

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

Package: libopencv-highgui-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: 322
Depends: libavcodec-dev (>= 0.svn20080206), libavformat-dev, libavresample-dev, libdc1394-22-dev, libgphoto2-dev, libjpeg-dev, libopencv-highgui4.2 (= 4.2.0+dfsg-5), libopencv-videoio-dev (= 4.2.0+dfsg-5), libopenexr-dev (>= 1.4.1), libpng-dev, libraw1394-dev, libswscale-dev, libtiff-dev
Filename: pool/universe/o/opencv/libopencv-highgui-dev_4.2.0+dfsg-5_amd64.deb
Size: 50776
MD5sum: 7b6053291e2baafb87d15e412438d23a
SHA1: 178e21ebc92809d3b5449b85cfe05fd452b53a60
SHA256: 59ac2dc298250db003e98d304f6f7c2997cbdbfbed1830d86c611776942392c6
Homepage: https://opencv.org
Description: development files for libopencv-highgui4.2
Description-md5: a8857c9304c3fbd770c70dc71b75f6cb