# 使用 Homebrew 安装 mavsdk

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

## 安装

```sh
sudo av install brew:mavsdk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mavsdk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mavsdk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mavsdk>
- **版本:** 3.17.2
- **来源摘要:** API and library for MAVLink compatible systems written in C++17
- **主页:** <https://mavsdk.mavlink.io/main/en/index.html>
- **仓库:** <https://github.com/mavlink/MAVSDK>
- **上游文档:** <https://mavsdk.mavlink.io/main/en/index.html>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/mavlink/MAVSDK.git>
- **最后更新:** 2026-07-23T12:28:16Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mavsdk_server (cli)
- mavsdk_server (别名)

## 依赖

- abseil
- c-ares
- curl
- grpc
- jsoncpp
- openssl@3
- protobuf
- re2
- tinyxml2
- xz

## 构建依赖

- cmake
- python@3.14
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.17.2
- 管理器更新时间: 2026-07-23
- 本地数据: OK
- 上游仓库: https://github.com/mavlink/MAVSDK
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

MAVSDK is the MAVLink project's high-level SDK for building applications that communicate with MAVLink vehicles, especially drones and other aircraft.

### 项目历史

The official repository describes MAVSDK as a set of libraries providing a high-level API to MAVLink, implemented around a C++ core, plugin libraries, and `mavsdk_server` for language clients. Earlier documentation releases tied MAVSDK docs to DroneCore releases, showing the project's earlier DroneCore naming before the MAVSDK identity settled.

The architecture grew around generated language bindings: the repository lists MAVSDK-Proto as the common interface definition, plus Python, Swift, Java, Go, JavaScript, and Rust client projects at different maturity levels.

### 采用历史

Official MAVSDK C++ documentation says the library is used in production environments, while still warning that the API continues to evolve. The project is most closely associated with PX4 and MAVLink workflows, with ArduPilot compatibility added gradually as functionality is tested.

### 使用方式

Package-manager users typically install MAVSDK to get the C++ library and `mavsdk_server`, then connect code to a MAVLink system or simulator. The C++ quickstart explicitly documents Homebrew installation on macOS and shows the common simulator-driven takeoff-and-land workflow.

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

MAVSDK is package-nerdy because it packages a robotics protocol stack into a conventional SDK shape: native library, generated protocol definitions, language-specific clients, and a server process that bridges MAVLink to gRPC.

### 时间线

- 2018: DroneCore-era documentation releases v0.3.0, v0.4.0, and v0.5.0.
- 2018: Official repository notes MAVSDK-Swift was first released and used in production.
- 2019: Official repository notes MAVSDK-Python and MAVSDK-Java first public package releases.
- 2026: MAVSDK repository presents C++ core, proto definitions, server, and multiple language clients under the MAVSDK name.

### Related projects

- MAVLink, PX4, ArduPilot, QGroundControl, MAVSDK-Proto, MAVSDK-Python, MAVSDK-Swift, MAVSDK-Java

### 来源

- <https://github.com/mavlink/MAVSDK>
- <https://github.com/mavlink/MAVSDK-docs/releases>
- <https://mavsdk.mavlink.io/main/en/cpp/guide/general_usage.html>
- <https://mavsdk.mavlink.io/main/en/cpp/index.html>
- <https://mavsdk.mavlink.io/main/en/cpp/quickstart.html>


## 安全说明

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

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

## 源数据库详情

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


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Runtime dependency declared by Homebrew.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [curl](https://pkg.so/zh-hans/brew/curl/) - Runtime dependency declared by Homebrew.
- [grpc](https://pkg.so/zh-hans/brew/grpc/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ccache](https://pkg.so/zh-hans/brew/ccache/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [qtbase](https://pkg.so/zh-hans/brew/qtbase/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [qt](https://pkg.so/zh-hans/brew/qt/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [qt@5](https://pkg.so/zh-hans/brew/qt-5/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [wxwidgets@3.2](https://pkg.so/zh-hans/brew/wxwidgets-3-2/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [gdb](https://pkg.so/zh-hans/brew/gdb/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [wxwidgets](https://pkg.so/zh-hans/brew/wxwidgets/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools.
- [brpc](https://pkg.so/zh-hans/brew/brpc/) - Local metadata places this package in an adjacent workflow. Shared terms: abseil, c-plus-plus, cli, developer, developer-tools.
- [drogon](https://pkg.so/zh-hans/brew/drogon/) - Local metadata places this package in an adjacent workflow. Shared terms: ares, c-ares, c-plus-plus, cli, developer.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
