How to Install and Uninstall libmockito-java Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 21,2024

1. Install "libmockito-java" package

Please follow the guidance below to install libmockito-java on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libmockito-java

2. Uninstall "libmockito-java" package

Here is a brief guide to show you how to uninstall libmockito-java on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove libmockito-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmockito-java package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libmockito-java
Architecture: all
Version: 2.23.0-1
Priority: optional
Section: universe/java
Source: mockito
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 583
Depends: libhamcrest-java, libbyte-buddy-java (>= 1.8.2-2~), libobjenesis-java
Filename: pool/universe/m/mockito/libmockito-java_2.23.0-1_all.deb
Size: 478844
MD5sum: a8637c95dca0b2c5f6f0abcf6d203c20
SHA1: b30bebd7fb8c8c8d0d9956b483b1735b5837ecbb
SHA256: 8ff07cae87fa058c946c719c5a766216d14dc4e412ffdebd5620049e25f289f5
SHA512: da13ade1cf4b1bf4d82f4766c81dd973d5be2c77682712686bcab994e89a2f2f8cd70370b893128fcfcedc77e9a658396107e7c3808e73e2823d976a4997f5a6
Homepage: http://mockito.org/
Description: mocking framework for Java
Description-md5: 0ac7d720808d8c696b626cda053fa6c3