How to Install and Uninstall libjmock2-java Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "libjmock2-java" package

This guide covers the steps necessary to install libjmock2-java on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libjmock2-java

2. Uninstall "libjmock2-java" package

Please follow the guidelines below to uninstall libjmock2-java on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libjmock2-java package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libjmock2-java
Priority: optional
Section: universe/java
Installed-Size: 478
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: jmock2
Version: 2.7~snapshot+201309170925-gitd7fe69b5+dfsg-2
Depends: libcglib3-java, libobjenesis-java
Filename: pool/universe/j/jmock2/libjmock2-java_2.7~snapshot+201309170925-gitd7fe69b5+dfsg-2_all.deb
Size: 77516
MD5sum: e5b63a52a22f52ce61524f2cabb072bb
SHA1: 49f07512a88004cbcb5e8cb111a7a9bb3285f48c
SHA256: 6ad059e66ed7936472fae5a3e7af50271f2a21b42d0e76cb9a58c84ae26cfeb9
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
Homepage: http://www.jmock.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu