# libtensorflow を Homebrew, Nix でインストール

libtensorflow のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libtensorflow
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libtensorflow
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libtensorflow
```

  証拠: nixpkgs package indexes: libtensorflow from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## パッケージ情報

- **パッケージキー:** brew:libtensorflow
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libtensorflow>
- **バージョン:** 2.21.0
- **ソース概要:** C interface for Google's OS library for Machine Intelligence
- **ホームページ:** <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
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- benchmark_model (cli)
- summarize_graph (cli)
- transform_graph (cli)
- benchmark_model (エイリアス)
- summarize_graph (エイリアス)
- transform_graph (エイリアス)

## ビルド依存関係

- bazelisk
- gnu-getopt
- numpy
- python@3.13

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 2.21.0
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/tensorflow/tensorflow
- 検出された最新: v2.21.0 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2015: Google open-sources TensorFlow on November 9, 2015.
- 2016: Google reports more than 480 direct TensorFlow contributors during the first year after open-sourcing.
- 2017: TensorFlow 1.0 era establishes the project as a major open-source ML framework.
- 2022: The TensorFlow team publishes a future roadmap emphasizing XLA, DTensor, applied ML tooling, and ecosystem growth.
- 2024: TensorFlow C documentation identifies TensorFlow 2.16 as the last TensorFlow release supporting macOS x86 C packages.
- 2025: TensorFlow C documentation identifies TensorFlow 2.18 as the last release of Linux x86, Windows x86, and Mac Arm64 libtensorflow packages.

### Related projects

- DistBelief is TensorFlow's internal predecessor. TensorFlow Lite, TensorFlow.js, TFX, Keras, OpenXLA, DTensor, and TensorFlow Serving are related ecosystem projects and deployment paths.

### ソース

- <https://blog.tensorflow.org/2022/10/building-the-future-of-tensorflow.html>
- <https://github.com/tensorflow/tensorflow>
- <https://opensource.googleblog.com/2016/11/celebrating-tensorflows-first-year.html>
- <https://research.google/blog/tensorflow-googles-latest-machine-learning-system-open-sourced-for-everyone/>
- <https://www.tensorflow.org/install/lang_c>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## ソースデータベース詳細

- **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:** stable

## 他のパッケージマネージャ記録

- Nix - libtensorflow: normalized package name match | nixpkgs package indexes: libtensorflow from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 関連リンク

- [MCP tool packages](https://www.automicvault.com/ja/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/ja/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bazelisk](https://www.automicvault.com/ja/pkg/brew/bazelisk/) - Build dependency declared by Homebrew.
- [gnu-getopt](https://www.automicvault.com/ja/pkg/brew/gnu-getopt/) - Build dependency declared by Homebrew.
- [numpy](https://www.automicvault.com/ja/pkg/brew/numpy/) - Build dependency declared by Homebrew.
- [python@3.13](https://www.automicvault.com/ja/pkg/brew/python-3-13/) - Build dependency declared by Homebrew.
- [apache-opennlp](https://www.automicvault.com/ja/pkg/brew/apache-opennlp/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [djl-serving](https://www.automicvault.com/ja/pkg/brew/djl-serving/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [hf](https://www.automicvault.com/ja/pkg/brew/hf/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [libsvm](https://www.automicvault.com/ja/pkg/brew/libsvm/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [lightgbm](https://www.automicvault.com/ja/pkg/brew/lightgbm/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [magika](https://www.automicvault.com/ja/pkg/brew/magika/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [mallet](https://www.automicvault.com/ja/pkg/brew/mallet/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [mitie](https://www.automicvault.com/ja/pkg/brew/mitie/) - Shares av.db curated category or tags: ai, cli, machine-learning, ml-tools.
- [opencv](https://www.automicvault.com/ja/pkg/brew/opencv/) - Local package facts share a topical domain. Shared terms: ai, cli, learning, machine, machine-learning.
- [tesseract](https://www.automicvault.com/ja/pkg/brew/tesseract/) - Local package facts share a topical domain. Shared terms: ai, cli, learning, machine, machine-learning.

## Combined YAML source

View the package source record on GitHub. [combined/libtensorflow.yml](https://github.com/automic-vault/db/blob/main/combined/libtensorflow.yml)


## ソース

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