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 theIP 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 yourPATH
(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:
Tested on
- Android 11
- 5.16.14-1-MANJARO
License
GNU AFFERO GENERAL PUBLIC LICENSE
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
fdpm-0.0.4-py3-none-any.whl
(20.6 kB
view hashes)