How to Install and Uninstall libjmock2-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 28,2024

1. Install "libjmock2-java" package

Please follow the step by step instructions below to install libjmock2-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libjmock2-java

2. Uninstall "libjmock2-java" package

Please follow the instructions below to uninstall libjmock2-java on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libjmock2-java package on Ubuntu 21.10 (Impish Indri)

Package: libjmock2-java
Architecture: all
Version: 2.12.0-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: 235
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)
Filename: pool/universe/j/jmock2/libjmock2-java_2.12.0-1_all.deb
Size: 118176
MD5sum: b81eefee00f5bc1079b8c01e381659a1
SHA1: e486e19d9c85e2741c2256292a8894fe118d5781
SHA256: 1dbf6af36b43c43d621adfc1d8274f62be3686ed3862e63e0664112476429b51
SHA512: 08da81f8d1fc60eb188698c77cc8bb74c6cbeb2d5fae60c4a74b76bd88e546f67be8faa4c2fda9e5c692e54ef2882700816b5fdd29be490d16ab4e6878b3bc08
Homepage: http://www.jmock.org/
Description-en: Java library for testing code with mock objects
Mock objects help you design and test the interactions between the objects in
your programs.
The jMock library:
* makes it quick and easy to define mock objects, so you don't break the
rhythm of programming.
* lets you precisely specify the interactions between your objects, reducing
the brittleness of your tests.
* works well with the autocompletion and refactoring features of your IDE
* plugs into your favourite test framework
* is easy to extend.
Description-md5: 23139195c4afb8815bd61d474737ff9b