LinuxCommandLibrary

fdroid

Manage apps from the F-Droid repository

TLDR

Build a specific app

$ fdroid build [app_id]
copy

Build a specific app in a build server VM
$ fdroid build [app_id] --server
copy

Publish the app to the local repository
$ fdroid publish [app_id]
copy

Install the app on every connected device
$ fdroid install [app_id]
copy

Check if the metadata is formatted correctly
$ fdroid lint --format [app_id]
copy

Fix the formatting automatically (if possible)
$ fdroid rewritemeta [app_id]
copy

SYNOPSIS

fdroid [command] [options]

PARAMETERS

update
    Updates the local repository index from configured repositories.

install
    Installs the specified package from the F-Droid repository. The package ID can be found using the `search` command.

search
    Searches for packages in the F-Droid repository matching the specified query.

show
    Displays detailed information about a specific package, including its description, version, and permissions.

repo
    Manages F-Droid repositories. Subcommands include `add`, `remove`, `list`, and `enable`.

--version
    Displays the version of the `fdroid` command-line tool.

--help
    Displays help information about the `fdroid` command and its subcommands.

DESCRIPTION

The `fdroid` command-line client allows users to interact with F-Droid repositories, enabling them to search, download, and install Android applications. F-Droid is a free and open-source software repository focused on providing Android apps that are not tracked or contain proprietary dependencies.
The `fdroid` command-line tool is particularly useful for automation, scripting, and headless environments, providing a terminal-based interface for managing F-Droid apps. It's also a valuable tool for users who prefer command-line interfaces or require programmatic access to the F-Droid ecosystem. Note: This tool is separate from the F-Droid client app typically used on Android devices. It operates as a separate package and is designed for Linux and other desktop environments.

CAVEATS

Requires that the necessary F-Droid repository URLs are configured correctly. May require root privileges for installation depending on the setup and configuration.

REPOSITORY MANAGEMENT

Managing repositories is crucial. Use `fdroid repo add ` to add new repositories and `fdroid repo list` to check which repositories are enabled.

INSTALLATION PROCESS

When installing, confirm that you have the necessary dependencies and permissions. The client might need to set up a local F-Droid repository or configure system-wide installations.

HISTORY

The `fdroid` command-line client was developed to provide a command-line interface for managing F-Droid apps, particularly useful in environments without a graphical interface. It enables programmatic access to F-Droid, enhancing automation and integration possibilities.

Copied to clipboard