- Install [Termux] (https://f-droid.org/en/packages/com.termux/) and
termux-setup-storage
apt-get update && apt full-upgrade -y
apt install gnupg
apt install wget
cd /sdcard/Download/
wget FILE-LINK
(or download F-Droid.apk and F-Droid.apk.asc from https://f-droid.org/)wget SIGNATURE-LINK
(F-Droid.apk.asc)gpg --keyserver-options auto-key-retrieve --verify SIGNATURE-FILE.apk.asc
result:
/sdcard/Download $ gpg --keyserver-options auto-key-retrieve --verify F-Droid.apk.asc gpg: assuming signed data in ‘F-Droid.apk’
gpg: Signature made 2022-01-26 21:12:50 +0330 +0330
gpg: using RSA key 802A9799016112346E1FEFF47A029E54DD5DCE7A
gpg: key 41E7044E1DBA2E89: 1 duplicate signature removed
gpg: key 41E7044E1DBA2E89: public key “F-Droid admin@f-droid.org” imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: Good signature from “F-Droid admin@f-droid.org” [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 37D2 C987 89D8 3119 4839 4E3E 41E7 044E 1DBA 2E89
Subkey fingerprint: 802A 9799 0161 1234 6E1F EFF4 7A02 9E54 DD5D CE7A
/sdcard/Download $
a reference: