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

Last updated: December 25,2024

1. Install "libopencv4.2-jni" package

This tutorial shows how to install libopencv4.2-jni on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libopencv4.2-jni

2. Uninstall "libopencv4.2-jni" package

This guide covers the steps necessary to uninstall libopencv4.2-jni on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libopencv4.2-jni $ sudo apt autoclean && sudo apt autoremove

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

Package: libopencv4.2-jni
Architecture: amd64
Version: 4.2.0+dfsg-5
Priority: optional
Section: universe/java
Source: opencv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2095
Depends: libopencv-calib3d4.2 (= 4.2.0+dfsg-5), libopencv-highgui4.2 (= 4.2.0+dfsg-5), libopencv-ml4.2 (= 4.2.0+dfsg-5), libopencv-objdetect4.2 (= 4.2.0+dfsg-5), libopencv-photo4.2 (= 4.2.0+dfsg-5), libopencv-video4.2 (= 4.2.0+dfsg-5), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libopencv-contrib4.2 (>= 4.2.0+dfsg), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-dnn4.2 (>= 4.2.0+dfsg), libopencv-features2d4.2 (>= 4.2.0+dfsg), libopencv-flann4.2 (>= 4.2.0+dfsg), libopencv-imgcodecs4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libopencv-videoio4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 5.2)
Filename: pool/universe/o/opencv/libopencv4.2-jni_4.2.0+dfsg-5_amd64.deb
Size: 367260
MD5sum: e4979696a3eee7999a05d036bdf62c6d
SHA1: fbdbf15f2a94333b44157f246a0bc97f8f8ac4d4
SHA256: 00d5329a36cfc378382422dbe5914e1d3833c51cefd2435d866e025dbcc799a7
Homepage: https://opencv.org
Description: Java jni library for the computer vision library
Description-md5: 3e8bfd86bff143c280bb78e8c95073c6