macOS
brew install thriftlocal Homebrew formula metadata
sudo port install thriftMacPorts ports tree · devel/thrift/Portfile · 来源: api.github.com
安装
brew install thriftlocal Homebrew formula metadata
sudo port install thriftMacPorts ports tree · devel/thrift/Portfile · 来源: api.github.com
sudo apk add thriftAlpine Linux edge package indexes · thrift · 来源: dl-cdn.alpinelinux.org
sudo dnf install thriftFedora Rawhide package metadata · thrift · 来源: dl.fedoraproject.org
nix profile install nixpkgs#thriftnixpkgs package indexes · pkgs/by-name/th/thrift/package.nix · 来源: api.github.com
sudo pacman -S thriftArch Linux sync databases · thrift · 来源: geo.mirror.pkgbuild.com
sudo zypper install thriftopenSUSE Tumbleweed package metadata · thrift · 来源: download.opensuse.org
sudo apt install golang-thrift-devDebian stable package indexes · golang-thrift-dev · 来源: deb.debian.org
scoop install main/thriftScoop official bucket manifest trees · bucket/thrift.json · 来源: api.github.com
概览
Framework for scalable cross-language services development
历史
Apache Thrift is a cross-language serialization, interface-definition, and RPC framework built around a compiler that turns `.thrift` IDL files into client/server code and data types for many programming languages.
Thrift began at Facebook, was open sourced in April 2007, entered the Apache Incubator in May 2008, and became an Apache top-level project in October 2010. Apache's own project page describes the goal as efficient, reliable communication and data serialization across languages.
The project settled into the classic compiler-plus-runtime model: developers write service and type definitions in Thrift IDL, run the Thrift compiler, and combine the generated code with the runtime library for each target language. Apache's README describes Thrift as a lightweight, language-independent software stack for point-to-point RPC, with clean abstractions for transport, serialization, and application processing.
Thrift's adoption pattern follows its cross-language design. Apache documentation says each supported language needs both the generated code from the compiler and the Apache Thrift library for that language, while the language matrix notes broad language support and a large cross-language test matrix.
In package-manager culture, Thrift is widely packaged because it is both a CLI compiler and a family of language runtimes. The input package facts list Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, Nix, Scoop, and openSUSE-family packages, often with language-specific package names.
A typical workflow is to define structs, exceptions, constants, and services in a `.thrift` IDL file, then run the compiler with a target such as `--gen go`, `--gen java`, or another supported backend. The generated code becomes the typed contract used by clients and servers.
Package maintainers care about the compiler/runtime split: projects may need the `thrift` executable at build time, runtime libraries in specific languages, and matching versions so generated code and library APIs agree.
Apache Thrift is significant to package nerds because it is a dependency bridge rather than just one executable. A single version bump can matter to C++, Java, Python, Go, Ruby, Node.js, and other ecosystems that consume generated bindings.
It also illustrates why package managers keep code generators around as first-class developer tools: Thrift IDL is often checked into source trees, but the generated output, runtime library, and compiler version still affect reproducibility.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
thrift | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:thrift |
|---|---|
| 版本 | 0.24.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://thrift.apache.org/ |
| 仓库 | https://github.com/apache/thrift |
| 最后更新 | 2026-07-12T03:22:20Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
golang-thrift-dev 0.19.0-4
Go language support for Thrift
sudo apt install golang-thrift-devlibthrift-0.19.0t64 0.19.0-4+b1
Thrift C++ library
sudo apt install libthrift-0.19.0t64libthrift-c-glib-dev 0.19.0-4+b1
Thrift glib library (development headers)
sudo apt install libthrift-c-glib-devlibthrift-c-glib0t64 0.19.0-4+b1
Thrift glib library
sudo apt install libthrift-c-glib0t64libthrift-dev 0.19.0-4+b1
Thrift C++ library (development headers)
sudo apt install libthrift-devlibthrift-perl 0.19.0-4
Perl language support for Thrift
sudo apt install libthrift-perlphp-thrift 0.19.0-4+b1
PHP language support for Thrift
sudo apt install php-thriftpython3-thrift 0.19.0-4+b1
Python 3 library for Thrift
sudo apt install python3-thriftthrift-compiler 0.19.0-4+b1
code generator/compiler for Thrift definitions
sudo apt install thrift-compilerthrift
nix profile install nixpkgs#thriftgolang-thrift-dev 0.19.0-2.1build5
Go language support for Thrift
sudo apt install golang-thrift-devlibthrift-0.19.0t64 0.19.0-2.1build5
Thrift C++ library
sudo apt install libthrift-0.19.0t64libthrift-c-glib-dev 0.19.0-2.1build5
Thrift glib library (development headers)
sudo apt install libthrift-c-glib-devlibthrift-c-glib0t64 0.19.0-2.1build5
Thrift glib library
sudo apt install libthrift-c-glib0t64libthrift-dev 0.19.0-2.1build5
Thrift C++ library (development headers)
sudo apt install libthrift-devlibthrift-perl 0.19.0-2.1build5
Perl language support for Thrift
sudo apt install libthrift-perl来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.