How to Install and Uninstall apksigner Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 11,2024

1. Install "apksigner" package

This is a short guide on how to install apksigner on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install apksigner

2. Uninstall "apksigner" package

This guide let you learn how to uninstall apksigner on Ubuntu 21.10 (Impish Indri):

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

3. Information about the apksigner package on Ubuntu 21.10 (Impish Indri)

Package: apksigner
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: 427
Depends: default-jre | java8-runtime | java9-runtime | java10-runtime | java11-runtime, libapksig-java (>= 30.0.3-4)
Filename: pool/universe/a/android-platform-tools-apksig/apksigner_30.0.3-4_all.deb
Size: 369612
MD5sum: 830e52353908a9c840c0ec60b3959400
SHA1: e3466b85dfec2266cdcfa111ae55bde5ff508c1d
SHA256: 4a69932abf63ed16f6cab8d9c72ac2a20b124d3f0acb4e5c7b35f814cea72518
SHA512: 5b9fd1c178c089a31f3b1b4a46a7ab250dd763b56e83051fc5c69888084d1822827809d99049c495c88a01dc136ee89fbe3e164daafe00f79d8777c5fd343b04
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