How to Install and Uninstall apksigner Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "apksigner" package

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

$ sudo apt update $ sudo apt install apksigner

2. Uninstall "apksigner" package

Please follow the guidelines below to uninstall apksigner on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the apksigner package on Ubuntu 20.10 (Groovy Gorilla)

Package: apksigner
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: 407
Depends: jarwrapper, default-jre-headless (>= 1:1.8) | java8-runtime-headless
Filename: pool/universe/a/android-platform-tools-apksig/apksigner_30.0.3-1_all.deb
Size: 357968
MD5sum: 17f9eeaef269dc8e49365a0ed0e9d66d
SHA1: 7df4fee0525f4a351c57faa3c253afce6f77f3eb
SHA256: 81d142f7cb536331162832de03810475ccc219eaa2e47a1ab92f98d5963ae1c6
SHA512: 377c31b868cf07d172bfa3a96ace084cd050d546ab0edd13326b10fbc4e8d2f762f092607b306dba50cd03a54d8eb724a98be6f4452d4c069f780d806b31c08c
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