Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper 安装 sloccount

查看 sloccount 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sloccount

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install sloccount

MacPorts ports tree · textproc/sloccount/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add sloccount

Alpine Linux edge package indexes · sloccount · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install sloccount

Debian stable package indexes · sloccount · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install sloccount

Fedora Rawhide package metadata · sloccount · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S sloccount

Arch Linux sync databases · sloccount · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install c_count

openSUSE Tumbleweed package metadata · c_count · 来源: download.opensuse.org

概览

软件包摘要

Count lines of code in many languages

命令和别名

  • ada_count
  • asm_count
  • awk_count
  • break_filelist
  • c_count
  • cobol_count
  • compute_all
  • compute_sloc_lang
  • count_extensions
  • count_unknown_ext
  • csh_count
  • erlang_count
  • exp_count
  • f90_count
  • fortran_count
  • generic_count
  • get_sloc
  • get_sloc_details
  • haskell_count
  • java_count
  • jsp_count
  • lex_count
  • lexcount1
  • lisp_count
  • make_filelists
  • makefile_count
  • ml_count
  • modula3_count
  • objc_count
  • pascal_count
  • perl_count
  • php_count

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ada_countcli全局可执行文件
asm_countcli全局可执行文件
awk_countcli全局可执行文件
break_filelistcli全局可执行文件
c_countcli全局可执行文件
cobol_countcli全局可执行文件
compute_allcli全局可执行文件
compute_sloc_langcli全局可执行文件
count_extensionscli全局可执行文件
count_unknown_extcli全局可执行文件
csh_countcli全局可执行文件
erlang_countcli全局可执行文件
exp_countcli全局可执行文件
f90_countcli全局可执行文件
fortran_countcli全局可执行文件
generic_countcli全局可执行文件
get_sloccli全局可执行文件
get_sloc_detailscli全局可执行文件
haskell_countcli全局可执行文件
java_countcli全局可执行文件
jsp_countcli全局可执行文件
lex_countcli全局可执行文件
lexcount1cli全局可执行文件
lisp_countcli全局可执行文件
make_filelistscli全局可执行文件
makefile_countcli全局可执行文件
ml_countcli全局可执行文件
modula3_countcli全局可执行文件
objc_countcli全局可执行文件
pascal_countcli全局可执行文件
perl_countcli全局可执行文件
php_countcli全局可执行文件
print_sumcli全局可执行文件
python_countcli全局可执行文件
ruby_countcli全局可执行文件
sed_countcli全局可执行文件
sh_countcli全局可执行文件
show_filecountcli全局可执行文件
sloccountcli全局可执行文件
sql_countcli全局可执行文件
tcl_countcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.26
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://dwheeler.com/sloccount/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://dwheeler.com/sloccount/none 置信度

安装元数据

软件包元数据

软件包键brew:sloccount
版本2.26
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sloccount
主页https://dwheeler.com/sloccount/
仓库https://sourceforge.net/p/sloccount/code
上游文档https://dwheeler.com/sloccount
许可证GPL-2.0-or-later
源码归档https://dwheeler.com/sloccount/sloccount-2.26.tar.gz
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

sloccount 2.26+ds-1

programs for counting physical source lines of code (SLOC)

https://www.dwheeler.com/sloccount/

sudo apt install sloccount
  • Section: devel
  • Architecture: amd64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sloccount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sloccount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

sloccount 2.26-5.2build1

programs for counting physical source lines of code (SLOC)

http://www.dwheeler.com/sloccount/

sudo apt install sloccount
  • Section: universe/devel
  • Architecture: amd64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sloccount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sloccount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

sloccount 2.26-r3

Tool for counting physical Source Lines of Code (SLOC)

https://dwheeler.com/sloccount

sudo apk add sloccount
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: sloccount
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sloccount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sloccount from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

sloccount-doc 2.26-r3

Tool for counting physical Source Lines of Code (SLOC) (documentation)

https://dwheeler.com/sloccount

sudo apk add sloccount-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: sloccount
  • normalized package name match
  • 匹配方式:Sloccount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sloccount-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

sloccount 2.26-44.fc44

Measures source lines of code (SLOC) in programs

https://sourceforge.net/projects/sloccount/

sudo dnf install sloccount
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sloccount
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sloccount
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sloccount from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

sloccount 2.26-11

Tools for counting physical source lines of code

https://www.dwheeler.com/sloccount/

sudo pacman -S sloccount
  • License: GPL
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Sloccount
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sloccount from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

sloccount

sudo port install sloccount
  • normalized package name match
  • 匹配方式:Sloccount
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/sloccount/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

c_count

sudo port install c_count
  • installed executable or alias match
  • 匹配方式:C Count
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/c_count/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
zypper92%

c_count 7.25-1.3

Source Code Measure Counter for C/C++/Java

https://invisible-island.net/c_count/

sudo zypper install c_count
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: c_count
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:C Count
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: c_count from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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