# 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
- **バージョン:** 2.21.0
- **ソース概要:** C interface for Google's OS library for Machine Intelligence
- **ホームページ:** <https://www.tensorflow.org/>
- **リポジトリ:** <https://github.com/tensorflow/tensorflow>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.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

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

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


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
