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

Last updated: December 25,2024

1. Install "libopencv-core4.2" package

Here is a brief guide to show you how to install libopencv-core4.2 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "libopencv-core4.2" package

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

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

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

Package: libopencv-core4.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: 3789
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libstdc++6 (>= 9), libtbb2 (>= 2017~U7), zlib1g (>= 1:1.1.4)
Filename: pool/universe/o/opencv/libopencv-core4.2_4.2.0+dfsg-5_amd64.deb
Size: 1026640
MD5sum: c817c7fded910b7e795506b97f2aa2d9
SHA1: a4da1cce40cea20d138ea052bcb21721166d8738
SHA256: 8015540ed6fbab7ce6f04024dd44fff04c5cece15f586adc49046431235658c3
Homepage: https://opencv.org
Description: computer vision core library
Description-md5: 8292a7f05662b9e9cf3408ffc2f8e61f
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics