How to Install and Uninstall libjmock2-java Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "libjmock2-java" package

This tutorial shows how to install libjmock2-java on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libjmock2-java

2. Uninstall "libjmock2-java" package

Please follow the step by step instructions below to uninstall libjmock2-java on Debian 12 (Bookworm):

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

3. Information about the libjmock2-java package on Debian 12 (Bookworm)

Package: libjmock2-java
Source: jmock2
Version: 2.12.0-1
Installed-Size: 235
Maintainer: Debian Java Maintainers
Architecture: all
Depends: libasm-java (>= 9.0), libbsh-java (>= 2.0b4), libbyte-buddy-java (>= 1.8.2), libcglib-java (>= 3.2.12), libfindbugs-annotations-java, libhamcrest-java, libobjenesis-java (>= 3.1)
Description: Java library for testing code with mock objects
Description-md5: 23139195c4afb8815bd61d474737ff9b
Homepage: http://www.jmock.org/
Section: java
Priority: optional
Filename: pool/main/j/jmock2/libjmock2-java_2.12.0-1_all.deb
Size: 118136
MD5sum: 17bb98da5b9c92f6fb56dd244f505c5f
SHA256: 0f33bf38505020a4b707d40b9723e55cdd8d6f6a90b0e2d677ec2bb11308303e