How to Install and Uninstall libopencv-highgui4.2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "libopencv-highgui4.2" package

Please follow the guidance below to install libopencv-highgui4.2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libopencv-highgui4.2

2. Uninstall "libopencv-highgui4.2" package

Please follow the guidance below to uninstall libopencv-highgui4.2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libopencv-highgui4.2 $ sudo apt autoclean && sudo apt autoremove

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

Package: libopencv-highgui4.2
Architecture: amd64
Version: 4.2.0+dfsg-5
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 137
Depends: libopencv-videoio4.2 (= 4.2.0+dfsg-5), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libgcc-s1 (>= 3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgtk-3-0 (>= 3.0.0), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgcodecs4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/libopencv-highgui4.2_4.2.0+dfsg-5_amd64.deb
Size: 32496
MD5sum: 60a26e4a542400fd85e266745b1f9000
SHA1: 23847050da300d41d5205d6ea8e14e1faacd48d2
SHA256: ddf13261eb3ad17e83b67e851fb5d338dca4daf87345425b1f862772b295044f
Homepage: https://opencv.org
Description: computer vision High-level GUI and Media I/O library
Description-md5: 4f2ee9c2e44d09b28cce1cc8726b50f0
Task: ubuntustudio-video