How to Install and Uninstall libjmock2-java Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "libjmock2-java" package

This tutorial shows how to install libjmock2-java on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libjmock2-java

2. Uninstall "libjmock2-java" package

Please follow the guidance below to uninstall libjmock2-java on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libjmock2-java package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libjmock2-java
Architecture: all
Version: 2.8.4-1
Priority: optional
Section: universe/java
Source: jmock2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 208
Depends: libasm-java (>= 7.0), libbsh-java (>= 2.0b4), libcglib-java (>= 3.2.9), libhamcrest-java, libobjenesis-java (>= 3.0.1)
Filename: pool/universe/j/jmock2/libjmock2-java_2.8.4-1_all.deb
Size: 107636
MD5sum: 1131f8501a8e261f6d6187f42ec38134
SHA1: 56b625a74b506b615bdd9e58607cce48b338715a
SHA256: 29efdabb22abb07745de22c61b35cc4a897175cc9c404ab213761e309bda7df3
Homepage: http://www.jmock.org/
Description: Java library for testing code with mock objects
Description-md5: 23139195c4afb8815bd61d474737ff9b