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

Last updated: May 17,2024

1. Install "libapksig-java" package

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

$ sudo apt update $ sudo apt install libapksig-java

2. Uninstall "libapksig-java" package

This is a short guide on how to uninstall libapksig-java on Ubuntu 21.10 (Impish Indri):

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

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

Package: libapksig-java
Architecture: all
Version: 30.0.3-4
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-4_all.deb
Size: 318600
MD5sum: 02e15bac3863e3e74f615108adce0931
SHA1: 86e87619bd831fadc4cc53416087bb1e501a2f18
SHA256: babaf7099d702e50708324e48793923a31d60447a5c1c21e2ab51d443e1ca64f
SHA512: bc1ce30016d281990106662956aa9702f29e5f2d4b36e8a9de5a01880e4cacc1f9035ed0f4c0011e214897a7a8bc7ce7c1e29f14e029ecb48a38b79909784c29
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