Automic VaultAutomic Vault

brew

ncnn を Homebrew, dnf, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install ncnn

local Homebrew formula metadata

Linux

Fedora dnf確認済み · 92%
sudo dnf install ncnn

Fedora Rawhide package metadata · ncnn · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#ncnn

nixpkgs package indexes · pkgs/by-name/nc/ncnn/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S ncnn

Arch Linux sync databases · ncnn · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install ncnn

openSUSE Tumbleweed package metadata · ncnn · ソース: download.opensuse.org

概要

パッケージ概要

High-performance neural network inference framework

コマンドとエイリアス

  • caffe2ncnn
  • darknet2ncnn
  • mxnet2ncnn
  • ncnn2int8
  • ncnn2mem
  • ncnn2table
  • ncnnmerge
  • ncnnoptimize

履歴

プロジェクトの歴史と使われ方

ncnn is Tencent's open-source neural-network inference runtime for mobile, embedded, desktop, browser, and edge deployment. Its niche is small, dependency-light inference: the upstream README emphasizes no third-party runtime dependencies, CPU and Vulkan GPU backends, explicit low-memory allocator design, and conversion tools such as pnnx for PyTorch and ONNX workflows.

プロジェクトの歴史

Tencent presentations describe the ncnn project as dating from 2017, with open collaboration and Vulkan acceleration as central design points. That timing put it in the wave of mobile inference runtimes that appeared after deep-learning deployment moved from server GPUs into phones and edge devices.

採用の歴史

Upstream states that ncnn is used in Tencent applications including QQ, Qzone, WeChat, and Pitu. Outside Tencent, its adoption pattern is typical for low-level ML infrastructure: package-manager availability, examples for object detection and vision models, and use by developers who want a C++ runtime without TensorFlow Lite or ONNX Runtime-sized baggage.

使われ方

Package users usually install ncnn for the converter and optimizer executables as much as for the library. A common flow is export from PyTorch through pnnx, produce .param and .bin model files, run optimization or int8 tooling, and embed the resulting model in a C++ or mobile application using ncnn::Net.

パッケージ好きにとっての重要性

For package maintainers, ncnn is interesting because it is a fast-moving C++/Vulkan project that exposes both libraries and many small CLI tools. It is also a useful example of a Homebrew formula where the command-line surface is mostly build/deployment tooling around a library rather than one end-user command.

タイムライン

  • 2017: Tencent presentation material describes ncnn as active since 2017.
  • 2020s: README documents pnnx-based PyTorch/ONNX conversion and CPU/Vulkan deployment across mobile, desktop, browser, and edge targets.

Related projects

  • PyTorch, ONNX, pnnx, Vulkan, TensorFlow, Caffe, MXNet, Darknet

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:network

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 6 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
caffe2ncnncliグローバル実行可能ファイル
darknet2ncnncliグローバル実行可能ファイル
mxnet2ncnncliグローバル実行可能ファイル
ncnn2int8cliグローバル実行可能ファイル
ncnn2memcliグローバル実行可能ファイル
ncnn2tablecliグローバル実行可能ファイル
ncnnmergecliグローバル実行可能ファイル
ncnnoptimizecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版20260526
マネージャ更新日2026-06-25
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/Tencent/ncnn

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ncnn
バージョン20260526
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ncnn
ホームページhttps://github.com/Tencent/ncnn
リポジトリhttps://github.com/Tencent/ncnn
上流ドキュメントhttps://github.com/Tencent/ncnn
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/Tencent/ncnn/archive/refs/tags/20260526.tar.gz
最終更新2026-06-25T13:37:56+02:00
Pulseupdated
依存関係abseil, glslang, libomp, molten-vk, protobuf, spirv-tools
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

ncnn

nix profile install nixpkgs#ncnn
  • normalized package name match
  • 一致条件: Ncnn
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nc/ncnn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

ncnn 20250916-3.fc45

A high-performance neural network inference framework

https://github.com/Tencent/ncnn

sudo dnf install ncnn
  • License: BSD-3-Clause AND BSD-2-Clause AND Zlib
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ncnn
  • 9 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Ncnn
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ncnn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ncnn-devel 20250916-3.fc45

Development files for ncnn

https://github.com/Tencent/ncnn

sudo dnf install ncnn-devel
  • License: BSD-3-Clause AND BSD-2-Clause AND Zlib
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ncnn
  • 13 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ncnn
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ncnn-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ncnn 20260113-6

High-performance neural network inference framework optimized for the mobile platform

https://github.com/Tencent/ncnn

sudo pacman -S ncnn
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 6 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Ncnn
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ncnn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libncnn1 20250916-1.8

NCNN library

https://github.com/Tencent/ncnn

sudo zypper install libncnn1
  • License: BSD-2-Clause AND BSD-3-Clause AND Zlib
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: ncnn
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Ncnn
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libncnn1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ncnn 20250916-1.8

A high-performance neural network inference framework

https://github.com/Tencent/ncnn

sudo zypper install ncnn
  • License: BSD-2-Clause AND BSD-3-Clause AND Zlib
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: ncnn
  • 7 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Ncnn
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ncnn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ncnn-devel 20250916-1.8

Development tools for ncnn

https://github.com/Tencent/ncnn

sudo zypper install ncnn-devel
  • License: BSD-2-Clause AND BSD-3-Clause AND Zlib
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: ncnn
  • 2 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ncnn
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ncnn-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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