# 使用 Homebrew, apt, MacPorts, Nix 安装 fdroidserver

查看 fdroidserver 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fdroidserver
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fdroidserver
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fdroidserver
```

  证据: MacPorts ports tree: devel/fdroidserver/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install fdroidserver
```

  证据: Debian stable package indexes: fdroidserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#fdroidserver
```

  证据: nixpkgs package indexes: pkgs/by-name/fd/fdroidserver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fdroidserver
- **软件包管理器:** Homebrew
- **版本:** 2.4.5
- **来源摘要:** Create and manage Android app repositories for F-Droid
- **主页:** <https://f-droid.org>
- **最后更新:** 2026-07-25T10:24:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fdroid (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.4.5
## 项目历史与用法

fdroidserver is the server-side and repository-maintenance tool suite behind F-Droid. It creates indexes, manages metadata, builds and publishes Android app repositories, and supports both the public f-droid.org repository and independent F-Droid-compatible repositories.

### 项目历史

F-Droid says the project was founded in 2010 by Ciaran Gultnieks. fdroidserver began as the complete server-side setup that ran f-droid.org, but its README explains that the website and other pieces were later split into separate projects while the fdroidserver name remained for the tooling suite.

The fdroidserver README describes the project as tools for maintaining an F-Droid repository system. It is used to maintain the f-droid.org application repository, to create alternative repositories, and to help create, test, and submit metadata to fdroiddata.

The project lives in F-Droid's GitLab namespace and has long-running branches and merge requests because the production f-droid.org setup runs directly from master on a regular schedule. Stable releases are also provided, mainly for custom repositories and for contributors who want packaged tooling.

### 采用历史

fdroidserver's adoption follows F-Droid's role as the free-software Android app repository. Anyone publishing an F-Droid-compatible repository needs the same primitives: app metadata, APK handling, signing keys, index generation, and deployment. fdroidserver packages those primitives into the fdroid CLI.

The supplied package facts show fdroidserver in Homebrew, Debian, MacPorts, Nix, and Ubuntu. That cross-platform packaging is important because repository maintainers and app contributors often work from ordinary desktop or CI environments rather than from a dedicated server.

F-Droid's own about page positions the ecosystem as privacy-respecting, account-free, open, and community-run. fdroidserver is the infrastructure-facing half of that promise: it makes app distribution auditable and reproducible enough for a community repository and for third-party repositories.

### 使用方式

Typical usage is through the fdroid command to initialize and maintain a repository, process app metadata, build packages, update repository indexes, and deploy signed repository data. The current curation records config.yml in a repository directory and a default keystore path under ~/.local/share/fdroidserver.

The tool is also part of the contributor workflow for fdroiddata. Maintainers can test metadata and builds locally before submitting changes to the public F-Droid app collection.

### 为什么软件包爱好者会关心

fdroidserver is package-manager machinery in the purest sense: metadata, signatures, indexes, build recipes, repository publishing, and policy checks. For package nerds, it is the Android-world analogue of distro repository tooling, with extra attention to source availability and user freedom.

It also explains why F-Droid is more than an APK download site. The server tools embody the reviewable supply chain: build metadata, reproducible-ish processes, signed indexes, and independent repository creation.

### 时间线

- 2010: F-Droid project founded.
- 2014: fdroidserver GitLab project created in the F-Droid namespace.
- 2019: fdroidserver 1.1 appears in release tag history.
- 2021: fdroidserver 2.0 released.
- 2026: fdroidserver 2.4.5 appears in release tag history.

### Related projects

- fdroiddata contains app metadata for the public F-Droid repository.
- F-Droid Client is the Android app-store client that consumes repositories produced by the server tooling.
- Repomaker and other F-Droid ecosystem tools build on the same repository model.

### 来源

- <https://f-droid.org/en/about/>
- <https://gitlab.com/fdroid/fdroidserver>
- <https://gitlab.com/fdroid/fdroidserver/-/raw/master/README.md>
- <https://f-droid.org/en/docs>
- <https://formulae.brew.sh/formula/fdroidserver>


## 安全说明

没有找到 fdroidserver 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: config.yml, ~/fdroid/config.yml

## Credential files

- Unix: ~/.local/share/fdroidserver/keystore.jks
## 其他软件包管理器记录

- Debian apt - fdroidserver - 2.4.2-1: normalized package name match | Debian stable package indexes: fdroidserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | F-Droid build server and repository tools for Android | https://f-droid.org
- Nix - fdroidserver: normalized package name match | nixpkgs package indexes: pkgs/by-name/fd/fdroidserver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fdroidserver - 2.2.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fdroidserver from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | F-Droid build server and repository tools for Android | https://f-droid.org
- MacPorts - fdroidserver: normalized package name match | MacPorts ports tree: devel/fdroidserver/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/fdroidserver.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fdroidserver.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
