← 返回命令列表

Linux command

fdroid 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update repository index

fdroid update

Build app from

fdroid build [app.id]

Initialize repository

fdroid init

Publish signed apps

fdroid publish

Check metadata for issues

fdroid lint [app.id]

Check for app updates

fdroid checkupdates [app.id]

说明

fdroid is the server-side tool for managing F-Droid repositories. It builds Android apps from source, maintains repository metadata, and generates the index files that F-Droid clients use. The tool handles the entire app publication workflow: building APKs from source, signing them, generating metadata, and publishing to repositories. It enforces F-Droid's commitment to open source by building from source code. fdroid is used by the official F-Droid repository and third-party repositories hosting open source Android applications.

参数

update
Update the repository index.
build _APP_
Build application from source.
init
Initialize new repository.
publish
Publish signed apps.
lint _APP_
Check metadata for issues.
checkupdates _APP_
Check for available upstream updates.
scanner _APP_
Scan APKs for known non-free libraries.
rewritemeta _APP_
Reformat and normalize metadata files.
deploy
Deploy the repository to a server.
import
Import a new app from source repository.
readmeta
Read and validate metadata.
-v, --verbose
More verbose output.
--help
Display help information.

FAQ

What is the fdroid command used for?

fdroid is the server-side tool for managing F-Droid repositories. It builds Android apps from source, maintains repository metadata, and generates the index files that F-Droid clients use. The tool handles the entire app publication workflow: building APKs from source, signing them, generating metadata, and publishing to repositories. It enforces F-Droid's commitment to open source by building from source code. fdroid is used by the official F-Droid repository and third-party repositories hosting open source Android applications.

How do I run a basic fdroid example?

Run `fdroid update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does update do in fdroid?

Update the repository index.