LinuxCommandLibrary

fdroidcl

Install, update, and manage F-Droid apps

TLDR

Fetch the F-Droid index

$ fdroidcl update
copy

Display information about an app
$ fdroidcl show [app_id]
copy

Download the APK file of an app
$ fdroidcl download [app_id]
copy

Search for an app in the index
$ fdroidcl search [search_pattern]
copy

Install an app on a connected device
$ fdroidcl install [app_id]
copy

Add a repository
$ fdroidcl repo add [repo_name] [url]
copy

Remove, enable or disable a repository
$ fdroidcl repo [remove|enable|disable] [repo_name]
copy

SYNOPSIS

fdroidcl [options] command [arguments]

PARAMETERS

-h, --help
    Show help message and exit.

-v, --version
    Show program's version number and exit.

-c CONFIG, --config CONFIG
    Path to configuration file (default: ~/.fdroidcl.conf).

-r REPO, --repo REPO
    Repository URL. Can be specified multiple times.

search [query]
    Search for apps.

show
    Show details of an app.

install
    Install an app.

uninstall
    Uninstall an app.

update
    Update the index.

upgrade [appid]
    Upgrade all apps or a specific app. Specify appid for single app upgrade.

list
    List installed apps.

available
    List available updates.

DESCRIPTION

fdroidcl is a command-line client for interacting with F-Droid repositories.
It allows users to search for, install, update, and uninstall applications directly from the terminal, without needing the graphical F-Droid app.
It's useful for automating F-Droid tasks, scripting installations on multiple devices, or simply preferring the command-line interface.
fdroidcl retrieves information from the F-Droid repositories specified in its configuration and allows managing software from those sources.
It is designed for headless or automated operation.

CAVEATS

The exact options and behavior may vary depending on the version of fdroidcl installed.

CONFIGURATION

fdroidcl reads its configuration from a file, usually ~/.fdroidcl.conf. This file allows the user to specify F-Droid repositories and various settings related to installation and download locations. The configuration can define trusted repositories.

EXAMPLES

To search for an application named 'K-9 Mail': fdroidcl search k9mail. To install the application: fdroidcl install org.k9mail.k9. To update the index: fdroidcl update. To upgrade all installed applications: fdroidcl upgrade.

HISTORY

fdroidcl was developed to provide a command-line interface to the F-Droid ecosystem. It allows users to perform various tasks, such as searching for, installing, and updating applications, directly from the terminal. Its initial focus was to enable scripted management of F-Droid repositories on headless servers and embedded devices where a graphical environment is not available.

SEE ALSO

apt(8), yum(8), pacman(8)

Copied to clipboard