Automic VaultAutomic Vault

brew

Install sloccount with Homebrew, apk, apt, dnf, MacPorts, pacman, zypper

Count lines of code in many languages. Version 2.26 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sloccount

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install sloccount

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

Linux

Alpine Linux apkverified · 92%
sudo apk add sloccount

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

Debian aptverified · 92%
sudo apt install sloccount

Debian stable package indexes · sloccount · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install sloccount

Fedora Rawhide package metadata · sloccount · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S sloccount

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

openSUSE zypperverified · 92%
sudo zypper install c_count

openSUSE Tumbleweed package metadata · c_count · source: download.opensuse.org

overview

Package summary

Count lines of code in many languages

Commands and aliases

  • 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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ada_countcliglobal executable
asm_countcliglobal executable
awk_countcliglobal executable
break_filelistcliglobal executable
c_countcliglobal executable
cobol_countcliglobal executable
compute_allcliglobal executable
compute_sloc_langcliglobal executable
count_extensionscliglobal executable
count_unknown_extcliglobal executable
csh_countcliglobal executable
erlang_countcliglobal executable
exp_countcliglobal executable
f90_countcliglobal executable
fortran_countcliglobal executable
generic_countcliglobal executable
get_sloccliglobal executable
get_sloc_detailscliglobal executable
haskell_countcliglobal executable
java_countcliglobal executable
jsp_countcliglobal executable
lex_countcliglobal executable
lexcount1cliglobal executable
lisp_countcliglobal executable
make_filelistscliglobal executable
makefile_countcliglobal executable
ml_countcliglobal executable
modula3_countcliglobal executable
objc_countcliglobal executable
pascal_countcliglobal executable
perl_countcliglobal executable
php_countcliglobal executable
print_sumcliglobal executable
python_countcliglobal executable
ruby_countcliglobal executable
sed_countcliglobal executable
sh_countcliglobal executable
show_filecountcliglobal executable
sloccountcliglobal executable
sql_countcliglobal executable
tcl_countcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.26
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://dwheeler.com/sloccount/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://dwheeler.com/sloccount/none confidence

install metadata

Package metadata

Package keybrew:sloccount
Version2.26
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sloccount
Homepagehttps://dwheeler.com/sloccount/
Repositoryhttps://sourceforge.net/p/sloccount/code
Upstream docshttps://dwheeler.com/sloccount
LicenseGPL-2.0-or-later
Source archivehttps://dwheeler.com/sloccount/sloccount-2.26.tar.gz
Bottleavailable (on 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-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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