macOS
brew install libtensorflowlocal Homebrew formula metadata
安装
brew install libtensorflowlocal Homebrew formula metadata
nix profile install nixpkgs#libtensorflownixpkgs package indexes · libtensorflow · 来源: raw.githubusercontent.com
概览
C interface for Google's OS library for Machine Intelligence
历史
libtensorflow is the packaged C interface to TensorFlow, Google's open-source machine-learning platform. In package-manager terms it is the part of TensorFlow that lets non-Python programs bind to TensorFlow's runtime through C headers and shared libraries.
Google announced TensorFlow as an open-source release on November 9, 2015, describing it as the second-generation machine-learning system built after DistBelief. The announcement emphasized portability, production readiness, Apache 2.0 licensing, and use across Google research and products.
The TensorFlow repository README says the framework was originally developed by researchers and engineers in the Google Brain Machine Intelligence team for machine-learning and neural-network research, while also being versatile enough for other areas. The C installation documentation defines the C API in c_api.h and says it is designed for simplicity and uniformity rather than convenience.
The libtensorflow packaging story is narrower than TensorFlow's Python ecosystem. It provides downloadable C library archives, headers, and shared libraries for supported operating systems, so language bindings and C/C++ applications can use TensorFlow without installing the full Python package path.
TensorFlow's adoption was unusually fast for machine-learning infrastructure. Google Cloud's 2016 Jeff Dean interview said TensorFlow gained over 11,000 GitHub stars in its first week after launch, and Google's first-year post reported more than 480 direct contributors by November 2016.
By October 20, 2022, the TensorFlow team described the project as adopted by millions of developers, used across Google products, and connected to TensorFlow Lite, TensorFlow.js, Keras, OpenXLA, DTensor, and production model tooling. libtensorflow's adoption follows from that ecosystem as the C ABI surface used by bindings and native applications.
C users install a libtensorflow archive, include tensorflow/c/c_api.h, link against the shared library, and call functions such as TF_Version. The official C page documents separate Linux, macOS, and Windows archives and notes platform-support endpoints with concrete TensorFlow release numbers.
Package managers expose libtensorflow for users who need native linkage, embedding, or language bindings rather than the normal pip install tensorflow workflow.
libtensorflow is interesting because it packages a massive ML system behind a C ABI. That is exactly the kind of boundary package maintainers care about: headers, shared objects, platform archives, ABI compatibility, and wrappers in other languages.
It also shows the tension between fast-moving ML stacks and traditional system packaging. TensorFlow's Python ecosystem moves quickly, while libtensorflow gives distributions and bindings a more conventional binary-library surface.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
benchmark_model | cli | 全局可执行文件 | |
summarize_graph | cli | 全局可执行文件 | |
transform_graph | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tensorflow/tensorflow
安装元数据
| 软件包键 | brew:libtensorflow |
|---|---|
| 版本 | 2.21.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libtensorflow |
| 主页 | https://www.tensorflow.org/ |
| 仓库 | https://github.com/tensorflow/tensorflow |
| 上游文档 | https://www.tensorflow.org/api_docs |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.21.0.tar.gz |
| 最后更新 | 2026-06-22T14:05:23-07:00 |
| Pulse | updated |
| 构建依赖 | bazelisk, gnu-getopt, numpy, python@3.13 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libtensorflow |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libtensorflow
nix profile install nixpkgs#libtensorflow来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.