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

Last updated: December 25,2024

1. Install "libopencv-videoio4.2" package

Learn how to install libopencv-videoio4.2 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "libopencv-videoio4.2" package

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

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

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

Package: libopencv-videoio4.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: 537
Depends: libopencv-imgcodecs4.2 (= 4.2.0+dfsg-5), libavcodec58 (>= 7:4.0), libavformat58 (>= 7:4.2), libavutil56 (>= 7:4.0), libc6 (>= 2.17), libdc1394-22 (>= 2.2.5), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.12.0), libgstreamer-plugins-base1.0-0 (>= 1.0.0), libgstreamer1.0-0 (>= 1.4.0), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 9), libswscale5 (>= 7:4.0)
Filename: pool/universe/o/opencv/libopencv-videoio4.2_4.2.0+dfsg-5_amd64.deb
Size: 156600
MD5sum: f802033ca87417351ae518b497603b0d
SHA1: 5955874d43918f11f2636b65ec40886069ef4ffe
SHA256: a263015f54b6ee397af620cd21675715e61d9fcf1dec708f81385ba444dfc7da
Homepage: https://opencv.org
Description: computer vision Video I/O library
Description-md5: 9423a6c92ac81c419de450fdcf11b5f3
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics