How to Install and Uninstall libapksig-java Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 26,2024

1. Install "libapksig-java" package

In this section, we are going to explain the necessary steps to install libapksig-java on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libapksig-java

2. Uninstall "libapksig-java" package

This tutorial shows how to uninstall libapksig-java on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the libapksig-java package on Ubuntu 20.10 (Groovy Gorilla)

Package: libapksig-java
Architecture: all
Version: 30.0.3-1
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-1_all.deb
Size: 318484
MD5sum: b3e5132bedef571447f91ae92360f360
SHA1: 91013170027498dd48fbf7ede3179e6fce146cee
SHA256: 79e3f85c0786ff0c217ddd8a8ab072505deb8563676c2984985a65afc48f0db0
SHA512: d85dc87d3e5f39285097e903275889e932f658d76670af83f7bc1478b386deaa25539a071c06da83ff7b782cfb46f0f5c68b162a181b33e1bf9b50a7d0c36e38
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