Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 fbthrift

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fbthrift

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fbthrift

MacPorts ports tree · devel/fbthrift/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#fbthrift

nixpkgs package indexes · pkgs/by-name/fb/fbthrift/package.nix · 来源: api.github.com

概览

软件包摘要

Facebook's branch of Apache Thrift, including a new C++ server

命令和别名

  • thrift1

历史

项目历史与用法

Facebook Thrift, usually packaged as fbthrift, is Meta's open-source branch of Thrift: a serialization, code-generation, and RPC framework for service communication. The project matters to package users because it ships the `thrift1` compiler and C++/Python-oriented runtime pieces used to generate service types, clients, and servers from `.thrift` interface files.

The project is significant because it is not just a repackaged Apache Thrift release. The README describes it as an evolved internal Facebook branch that was re-released to the open-source community in February 2014, with a rewritten compiler and a fully asynchronous Thrift server.

项目历史

Thrift began as the cross-language service framework associated with Facebook and Apache Thrift. Apache Thrift's own site describes the framework as combining a software stack with a code-generation engine for scalable cross-language services development.

Facebook maintained an internal branch for production service communication, then publicly re-released that branch as fbthrift in 2014. The public repository was created in 2013, and the project README states that the open-source release initially tracked Apache Thrift closely before diverging in new directions.

采用历史

The strongest adoption signal is internal: the fbthrift README says most Facebook services use Thrift for RPC, and some storage systems use Thrift for serializing records on disk.

Outside Meta, fbthrift is mostly adopted by developers who specifically need Meta's C++ Thrift stack rather than the Apache distribution. Package managers expose it as a compiler/runtime toolchain, with Homebrew's formula providing the `thrift1` executable.

使用方式

Users write `.thrift` files to define serializable types and service interfaces, then run the compiler to generate language-specific structures, clients, and server stubs. The README frames Thrift as a code generator, serialization framework, and RPC framework.

The package is most relevant for C++ service developers because fbthrift emphasizes cpp2 support, asynchronous servers, and integration with other Meta C++ infrastructure such as Folly.

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

fbthrift is the package-manager face of Meta's Thrift branch: a heavy but important toolchain package for people who need compatibility with Facebook/Meta thrift definitions, C++ service infrastructure, or projects built against fbthrift rather than Apache Thrift.

It also illustrates a common packaging split: the upstream concept is Thrift, but the formula name distinguishes Meta's branch from the Apache implementation so both can exist in package ecosystems without pretending they are interchangeable.

时间线

  • 2007: Apache Thrift material describes the cross-language service framework and compiler model.
  • 2013: The public facebook/fbthrift GitHub repository was created.
  • 2014: Facebook re-released its evolved internal Thrift branch to the open-source community.
  • 2014 onward: fbthrift diverged from Apache Thrift with a rewritten compiler and asynchronous C++ server support.

Related projects

  • Apache Thrift is the upstream family and comparison point, while fbthrift is Meta's evolved branch.
  • Folly, Fizz, Wangle, and other Meta C++ libraries appear in the fbthrift build dependency stack.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 9 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
thrift1cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2026.07.06.00
管理器更新时间2026-07-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/facebook/fbthrift

安装元数据

软件包元数据

软件包键brew:fbthrift
版本2026.07.06.00
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fbthrift
主页https://github.com/facebook/fbthrift
仓库https://github.com/facebook/fbthrift
上游文档https://github.com/facebook/fbthrift#readme
许可证Apache-2.0
源码归档https://github.com/facebook/fbthrift/archive/refs/tags/v2026.07.06.00.tar.gz
最后更新2026-07-07T21:44:33Z
Pulseupdated
依赖double-conversion, fizz, fmt, folly, gflags, glog, openssl@3, wangle, xxhash
构建依赖bison, cmake, mvfst, zstd
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefbthrift
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

fbthrift

nix profile install nixpkgs#fbthrift
  • normalized package name match
  • 匹配方式:Fbthrift
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fb/fbthrift/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

fbthrift

sudo port install fbthrift
  • normalized package name match
  • 匹配方式:Fbthrift
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/fbthrift/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment