How to Install and Uninstall libpowermock-java Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 28,2024
1. Install "libpowermock-java" package
Please follow the instructions below to install libpowermock-java on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
libpowermock-java
Copied
2. Uninstall "libpowermock-java" package
This tutorial shows how to uninstall libpowermock-java on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
libpowermock-java
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libpowermock-java package on Ubuntu 21.10 (Impish Indri)
Package: libpowermock-java
Architecture: all
Version: 1.6.6-1
Priority: optional
Section: universe/java
Source: powermock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 836
Depends: libcglib-nodep-java, libhamcrest-java, libjavassist-java, libmockito-java, libobjenesis-java, libxstream-java, testng
Filename: pool/universe/p/powermock/libpowermock-java_1.6.6-1_all.deb
Size: 534706
MD5sum: 718f81884780b5627f3cf63448beb7f6
SHA1: 93cbc246a5bd95ccbe6e4cc861a93f0e13bb658f
SHA256: 8953248189ed1b8af996cbb7524b23a2a4669555e5b7a540cfb7216e71260b41
SHA512: fa3ce1e82cc128e53b44bde42816f9a72252c625cd28a1e8139d126e77de1168805b4a0fd751148c659af628e837a8552f73858612bd4255ce3ace0d7d4453b7
Homepage: http://www.powermock.org
Description-en: PowerMock testing framework for Java
PowerMock allows you to unit test code normally regarded as untestable.
For instance it is possible to mock static methods, remove static initializers,
allow mocking without dependency injection and more. PowerMock works by
bytecode manipulation. PowerMock also contain some utilities that gives
you easier access to an objects internal state. PowerMock can be used to
test otherwise untestable code and also to achieve a cleaner separation
between test and production code.
Description-md5: 89084fb3d1ac9503e0f16c8ddb4b11c6
Architecture: all
Version: 1.6.6-1
Priority: optional
Section: universe/java
Source: powermock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 836
Depends: libcglib-nodep-java, libhamcrest-java, libjavassist-java, libmockito-java, libobjenesis-java, libxstream-java, testng
Filename: pool/universe/p/powermock/libpowermock-java_1.6.6-1_all.deb
Size: 534706
MD5sum: 718f81884780b5627f3cf63448beb7f6
SHA1: 93cbc246a5bd95ccbe6e4cc861a93f0e13bb658f
SHA256: 8953248189ed1b8af996cbb7524b23a2a4669555e5b7a540cfb7216e71260b41
SHA512: fa3ce1e82cc128e53b44bde42816f9a72252c625cd28a1e8139d126e77de1168805b4a0fd751148c659af628e837a8552f73858612bd4255ce3ace0d7d4453b7
Homepage: http://www.powermock.org
Description-en: PowerMock testing framework for Java
PowerMock allows you to unit test code normally regarded as untestable.
For instance it is possible to mock static methods, remove static initializers,
allow mocking without dependency injection and more. PowerMock works by
bytecode manipulation. PowerMock also contain some utilities that gives
you easier access to an objects internal state. PowerMock can be used to
test otherwise untestable code and also to achieve a cleaner separation
between test and production code.
Description-md5: 89084fb3d1ac9503e0f16c8ddb4b11c6