How to Install and Uninstall apksigner Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 23,2024

1. Install "apksigner" package

This guide let you learn how to install apksigner on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install apksigner

2. Uninstall "apksigner" package

This is a short guide on how to uninstall apksigner on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove apksigner $ sudo apt autoclean && sudo apt autoremove

3. Information about the apksigner package on Ubuntu 21.04 (Hirsute Hippo)

Package: apksigner
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: 413
Depends: default-jre | java8-runtime | java9-runtime | java10-runtime | java11-runtime, libapksig-java (>= 30.0.3-3)
Filename: pool/universe/a/android-platform-tools-apksig/apksigner_30.0.3-3_all.deb
Size: 357152
MD5sum: b9498fa5aa3638f7f3eeefc35b87b9a4
SHA1: b806780acae1da708cbb25f5080d2fc9811b1215
SHA256: c4b021780ec31e16e3e06b9169e9fa7078f4b20cf5eb9b63b1085796f4f162c4
SHA512: a0701b08859d96ff6ec19da9762b9309e2fd8f7180508032feacd3cafbd89eb1b220a2df4c090f52f62d2e6f003b19fbce56f764386c64b326921f17895aaf7a
Homepage: https://android.googlesource.com/platform/tools/apksig
Description-en: command line tool 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.
.
apksigner command-line tool offers two operations:
.
* sign the provided APK so that it verifies on all Android platforms
supported by the APK. Run apksigner sign for usage information.
.
* check whether the provided APK's signatures are expected to verify
on all Android platforms supported by the APK. Run apksigner verify
for usage information.
.
The tool determines the range of Android platform versions (API
Levels) supported by the APK by inspecting the APK's
AndroidManifest.xml. This behavior can be overridden by specifying
the range of platform versions on the command-line.
Description-md5: 084b3acff7be60dc94f8caedfe355b64