How to Install and Uninstall libapksig-java Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 10,2024

1. Install "libapksig-java" package

Here is a brief guide to show you how to install libapksig-java on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libapksig-java

2. Uninstall "libapksig-java" package

Please follow the step by step instructions below to uninstall libapksig-java on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libapksig-java package on Ubuntu 21.04 (Hirsute Hippo)

Package: libapksig-java
Architecture: all
Version: 30.0.3-3
Priority: optional
Section: universe/java
Source: android-platform-tools-apksig
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Android Tools Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 363
Filename: pool/universe/a/android-platform-tools-apksig/libapksig-java_30.0.3-3_all.deb
Size: 318564
MD5sum: 5308893975a134e0380ee23454b9e82c
SHA1: 8efa7d00c9cb5c3f5eff9a48b5c1727abc728a3e
SHA256: 21598928317b3348b83102d3c136b9225fe982264dc18316e520284d8c827481
SHA512: fc74416fd1ca4e800a149ce5fad83a79b22139728e8aae8b69d56062c2e3dc3a64efa905bd58a0c3d16c9498a7826910edf0d9f270a3b6b44165c3b8003e4ea0
Homepage: https://android.googlesource.com/platform/tools/apksig
Description-en: library to sign and verify Android APKs
apksig is a project which aims to simplify APK signing and checking
whether APK's signatures should verify on Android. apksig supports
JAR signing (used by Android since day one) and APK Signature Scheme
v2 (supported since Android Nougat, API Level 24).
.
The key feature of apksig is that it knows about differences in APK
signature verification logic between different versions of the
Android platform. apksig can thus check whether a signed APK is
expected to verify on all Android platform versions supported by the
APK. When signing an APK, apksig will choose the most appropriate
cryptographic algorithms based on the Android platform versions
supported by the APK being signed.
.
apksig library offers three primitives:
.
* ApkSigner which signs the provided APK so that it verifies on all
Android platform versions supported by the APK. The range of platform
versions can be customized if necessary.
.
* ApkVerifier which checks whether the provided APK is expected to
verify on all Android platform versions supported by the APK. The
range of platform versions can be customized if necessary.
.
* (Default)ApkSignerEngine which abstracts away signing an APK from
parsing and building an APK file. This is useful in optimized APK
building pipelines, such as in Android Plugin for Gradle, which need
to perform signing while building an APK, instead of after. For
simpler use cases where the APK to be signed is available upfront,
the ApkSigner above is easier to use.
.
NOTE: Some public classes of the library are in packages having the
word “internal” in their name. These are not public API of the
library. Do not use *.internal.* classes directly.
Description-md5: 7926f593443c8bc0a39626f9b0442a18