Skip to main content

Command line tool to install packages from f-droid.org

Project description

fdpm

F-Droid Package Manager Install apps from f-droid through command line

Requirements

  • adb
  • git
  • python

Setup

  • On android:
    • Enable developer options
    • [Optional but recommended] To connect adb on phone itself:
      • Install a terminal like termux
      • Install adb binaries
      • Go to Developer options -> Wireless debugging -> Note the IP address & Port
      • Open termux and enter adb connect ip.add.re.ss:port (Enter IP address & Port noted in previous step)
    • Install dummy installer apk Or you could also build it yourself from here. Just keep the package name intact.
  • On desktop:
    • Download and extract platform tools
    • Add adb to your PATH (You should be able to access it from any directory)
    • If wireless adb is possible on your android, enter adb connect ip.add.re.ss:port (same way as in android steps)
    • If wireless is not possible, connect usb

Installation

git clone https://gitlab.com/kshib/fdpm
cd fdroid-cli
pip install -r requirements.txt

Usage

# Search apps
python fdpm.py -s launcher

# Install apps
python fdpm.py -i org.videolan.vlc ch.deletescape.lawnchair.plah

# Uninstall apps
python fdpm.py -n org.videolan.vlc ch.deletescape.lawnchair.plah

# Update installed apps
python fdpm.py -u

# Use dialog interface to avoid using package names (Not supported on windows)
python fdpm.py -d

Screenshots: dialog_demo

Tested on

  • Android 11
  • 5.16.14-1-MANJARO

License

GNU AFFERO GENERAL PUBLIC LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdpm-0.0.4.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fdpm-0.0.4-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file fdpm-0.0.4.tar.gz.

File metadata

  • Download URL: fdpm-0.0.4.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.14-1-MANJARO

File hashes

Hashes for fdpm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 22b09ee304a87d0f92108ae9f741b9ea4d6921d6bdbe04c3e3077db85cdc92d8
MD5 0ebe041060de782c6b17f13a5de05647
BLAKE2b-256 483ffe423b35ebaeab67891dc36fb686da317a6c9fc5f19d1db8472a1f03e02a

See more details on using hashes here.

File details

Details for the file fdpm-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: fdpm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.14-1-MANJARO

File hashes

Hashes for fdpm-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cfec3de56c8e86f9c3adf1888233b6df1d22225dec36d8ec7956d60d3b78796f
MD5 05e5a1cc46ed84b4fd2571c6c0c9287a
BLAKE2b-256 205636dfb63dfcb51733205cd1f96538b712f5314ec270e8e61e2812099c5de9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page