# 使用 Homebrew, apk, chocolatey, dnf, Nix, pacman, zypper, MacPorts 安装 freerdp

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

## 安装

```sh
sudo av install brew:freerdp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install freerdp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install FreeRDP
```

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

### Linux

- apk (92%):

```sh
sudo apk add freerdp
```

  证据: Alpine Linux edge package indexes: freerdp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install freerdp
```

  证据: Fedora Rawhide package metadata: freerdp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#freerdp
```

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

- pacman (92%):

```sh
sudo pacman -S freerdp
```

  证据: Arch Linux sync databases: freerdp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install freerdp
```

  证据: openSUSE Tumbleweed package metadata: freerdp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install freerdp
```

  证据: Chocolatey community package catalog: freerdp from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','firacode'

## 软件包事实

- **软件包键:** brew:freerdp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/freerdp>
- **版本:** 3.30.0
- **来源摘要:** X11 implementation of the Remote Desktop Protocol (RDP)
- **主页:** <https://www.freerdp.com/>
- **仓库:** <https://github.com/FreeRDP/FreeRDP>
- **上游文档:** <https://www.freerdp.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/FreeRDP/FreeRDP/archive/refs/tags/3.30.0.tar.gz>
- **最后更新:** 2026-07-16T09:30:47Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- freerdp-proxy (cli)
- freerdp-shadow-cli (cli)
- sdl-freerdp (cli)
- sfreerdp (cli)
- sfreerdp-server (cli)
- winpr-hash (cli)
- winpr-makecert (cli)
- xfreerdp (cli)
- freerdp-proxy (别名)
- freerdp-shadow-cli (别名)
- sdl-freerdp (别名)
- sfreerdp (别名)
- sfreerdp-server (别名)
- winpr-hash (别名)
- winpr-makecert (别名)
- xfreerdp (别名)

## 依赖

- cjson
- ffmpeg
- jansson
- jpeg-turbo
- libcbor
- libfido2
- libusb
- libx11
- libxcursor
- libxext
- libxfixes
- libxi
- libxinerama
- libxrandr
- libxrender
- libxv
- openssl@3
- pkcs11-helper
- sdl3
- sdl3_ttf
- uriparser

## 构建依赖

- cmake
- pkgconf

## macOS 提供的库

- cups

## 安装行为

- post-install 钩子: 未定义
- 注意事项: xfreerdp is an X11 application that requires an XServer be installed and running. Lack of a running XServer will cause a "$DISPLAY" error. XQuartz provides an XServer for macOS. The XQuartz can be installed as a package from www.xquartz.org or as a Homebrew cask: brew install --cask xquartz
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.30.0
- 管理器更新时间: 2026-07-16
- 本地数据: OK
- 上游仓库: https://github.com/FreeRDP/FreeRDP
- 检测到的最新版本: 3.30.0 (当前)
## 项目历史与用法

FreeRDP is a free implementation of Microsoft's Remote Desktop Protocol, distributed as both libraries and client/server command-line programs. In package terms it is the portable RDP stack many Unix-like desktops, remote-access tools, and automation workflows build around when the native Microsoft client is unavailable or unsuitable.

### 项目历史

The official project history describes FreeRDP as starting as a fork and later becoming a multi-platform implementation with Linux, Windows, macOS, iOS, and Android clients. The modern project also includes WinPR, the Windows Portable Runtime, which provides Windows API compatibility pieces used by FreeRDP on non-Windows systems.

The project announced FreeRDP 1.0 in January 2012 and has continued as an actively maintained RDP implementation. Current release notes show the 3.x line adding client, proxy, gateway, Android, codec, and security work while tracking Microsoft protocol extensions.

### 采用历史

FreeRDP's adoption is tied to the need for interoperable RDP outside Microsoft's own clients. The project's own history calls it the standard client implementation where no native Microsoft client is available, and official site posts describe downstream use in related remote-desktop projects such as Remmina and Myrtille.

Because FreeRDP exposes libfreerdp as well as end-user clients such as xfreerdp and sdl-freerdp, it became both an application package and an infrastructure library for remote desktop front ends, thin-client systems, and RDP gateways.

### 使用方式

Typical package usage is direct interactive connection to Windows hosts with xfreerdp or SDL-based clients, plus library linking by graphical remote desktop applications. The official README points users to the wiki, API documentation, release downloads, Microsoft Open Specifications references, and compilation instructions.

Modern release notes emphasize security fixes, RDP gateway behavior, clipboard and device redirection, Android client work, codec support, proxy features, and compatibility with Azure and Entra related authentication extensions.

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

FreeRDP matters to package maintainers because it is a protocol implementation, a CLI client set, and a C library stack in one package. It pulls together fast-moving security updates, optional multimedia backends, platform-specific clients, and the WinPR compatibility layer, so downstream packaging decisions affect both desktop users and dependent remote-access software.

It is also a useful case study in open implementations of proprietary network protocols: packagers care about which RDP extensions are enabled, how TLS and smart-card support are built, and which client binaries are shipped.

### 时间线

- 2012: FreeRDP 1.0 released by the project.
- 2019: Official project history describes FreeRDP as a multi-platform RDP implementation and identifies WinPR as part of the project.
- 2025: Official release posts continue the 3.x series with maintenance and protocol-facing improvements.
- 2026: 3.27.x release notes document active work on security, gateway behavior, Android support, clipboard handling, and Azure/Entra compatibility.

### Related projects

- WinPR is part of the FreeRDP project and supplies portable Windows API compatibility for non-Windows platforms.
- Remmina is an official-site-highlighted multiprotocol remote desktop client that supports RDP via libfreerdp.
- Myrtille is an HTML remote desktop project whose official FreeRDP guest post describes resynchronizing its FreeRDP fork with the main repository.

### 来源

- <https://github.com/FreeRDP/FreeRDP>
- <https://raw.githubusercontent.com/FreeRDP/FreeRDP/master/ChangeLog>
- <https://www.freerdp.com/>
- <https://www.freerdp.com/2012/01/16/freerdp-1-0-released>
- <https://www.freerdp.com/2019/01/16/hi-freerdp-history>
- <https://www.freerdp.com/2019/01/23/hi-remmina>
- <https://www.freerdp.com/2020/11/09/hi-myrtille>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: ${SYSCONF_DIR}/xfreerdp.json, ${SYSCONF_DIR}/certificates.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** freerdp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - freerdp: normalized package name match | nixpkgs package indexes: pkgs/by-name/fr/freerdp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - freerdp - 3.29.0-r0: normalized package name match | Alpine Linux edge package indexes: freerdp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | FreeRDP client | https://www.freerdp.com/
- apk - freerdp-dev - 3.29.0-r0: normalized package name match | Alpine Linux edge package indexes: freerdp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | FreeRDP client (development files) | https://www.freerdp.com/
- apk - freerdp-doc - 3.29.0-r0: normalized package name match | Alpine Linux edge package indexes: freerdp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | FreeRDP client (documentation) | https://www.freerdp.com/
- apk - freerdp-libs - 3.29.0-r0: normalized package name match | Alpine Linux edge package indexes: freerdp-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | FreeRDP client (libraries) | https://www.freerdp.com/
- dnf - freerdp - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: freerdp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Free implementation of the Remote Desktop Protocol (RDP) | http://www.freerdp.com/
- dnf - freerdp-devel - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: freerdp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for freerdp | http://www.freerdp.com/
- dnf - freerdp-libs - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: freerdp-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Core libraries implementing the RDP protocol | http://www.freerdp.com/
- dnf - freerdp-server - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: freerdp-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Server support for freerdp | http://www.freerdp.com/
- dnf - libwinpr - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: libwinpr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Windows Portable Runtime | http://www.freerdp.com/
- dnf - libwinpr-devel - 3.30.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: libwinpr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Windows Portable Runtime development files | http://www.freerdp.com/
- pacman - freerdp - 2:3.30.0-1: normalized package name match | Arch Linux sync databases: freerdp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Free implementation of the Remote Desktop Protocol (RDP) | https://www.freerdp.com/
- zypper - freerdp - 3.30.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: freerdp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Remote Desktop Viewer Client | https://www.freerdp.com/
- zypper - freerdp-devel - 3.30.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: freerdp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development Files for freerdp | https://www.freerdp.com/
- zypper - freerdp-proxy - 3.30.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: freerdp-proxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Remote Desktop Security and Monitoring Proxy Server | https://www.freerdp.com/
- zypper - freerdp-proxy-plugins - 3.30.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: freerdp-proxy-plugins from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Plugins for the Security and Monitoring Proxy Server | https://www.freerdp.com/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [x11vnc](https://pkg.so/zh-hans/brew/x11vnc/) - Shares pkgdb curated category or tags: cli, networking, remote-desktop, x11.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Shares pkgdb curated category or tags: cli, library, networking.
- [curl](https://pkg.so/zh-hans/brew/curl/) - Shares pkgdb curated category or tags: cli, library, networking.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, library, networking.
- [libnice](https://pkg.so/zh-hans/brew/libnice/) - Shares pkgdb curated category or tags: cli, library, networking.
- [websocat](https://pkg.so/zh-hans/brew/websocat/) - Shares pkgdb curated category or tags: cli, client, networking.
- [czmq](https://pkg.so/zh-hans/brew/czmq/) - Shares pkgdb curated category or tags: cli, library, networking.
- [frpc](https://pkg.so/zh-hans/brew/frpc/) - Shares pkgdb curated category or tags: cli, client, networking.
- [tiger-vnc](https://pkg.so/zh-hans/brew/tiger-vnc/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, desktop, implementation, jpeg.
- [freeswitch](https://pkg.so/zh-hans/brew/freeswitch/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, jpeg, jpeg-turbo, networking.

## Combined YAML source

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


## 来源

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