pkg.soopen package index

brew / rank 6166

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

Count lines of code in many languages. Version 2.26 via Homebrew; verified 2026-07-12. Also installable with debian: sudo apt install sloccount.

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 bottle metadata was recorded.

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_countexecutableindexed executableDiscovered from the local executable index.
asm_countexecutableindexed executableDiscovered from the local executable index.
awk_countexecutableindexed executableDiscovered from the local executable index.
break_filelistexecutableindexed executableDiscovered from the local executable index.
c_countexecutableindexed executableDiscovered from the local executable index.
cobol_countexecutableindexed executableDiscovered from the local executable index.
compute_allexecutableindexed executableDiscovered from the local executable index.
compute_sloc_langexecutableindexed executableDiscovered from the local executable index.
count_extensionsexecutableindexed executableDiscovered from the local executable index.
count_unknown_extexecutableindexed executableDiscovered from the local executable index.
csh_countexecutableindexed executableDiscovered from the local executable index.
erlang_countexecutableindexed executableDiscovered from the local executable index.
exp_countexecutableindexed executableDiscovered from the local executable index.
f90_countexecutableindexed executableDiscovered from the local executable index.
fortran_countexecutableindexed executableDiscovered from the local executable index.
generic_countexecutableindexed executableDiscovered from the local executable index.
get_slocexecutableindexed executableDiscovered from the local executable index.
get_sloc_detailsexecutableindexed executableDiscovered from the local executable index.
haskell_countexecutableindexed executableDiscovered from the local executable index.
java_countexecutableindexed executableDiscovered from the local executable index.
jsp_countexecutableindexed executableDiscovered from the local executable index.
lex_countexecutableindexed executableDiscovered from the local executable index.
lexcount1executableindexed executableDiscovered from the local executable index.
lisp_countexecutableindexed executableDiscovered from the local executable index.
make_filelistsexecutableindexed executableDiscovered from the local executable index.
makefile_countexecutableindexed executableDiscovered from the local executable index.
ml_countexecutableindexed executableDiscovered from the local executable index.
modula3_countexecutableindexed executableDiscovered from the local executable index.
objc_countexecutableindexed executableDiscovered from the local executable index.
pascal_countexecutableindexed executableDiscovered from the local executable index.
perl_countexecutableindexed executableDiscovered from the local executable index.
php_countexecutableindexed executableDiscovered from the local executable index.
print_sumexecutableindexed executableDiscovered from the local executable index.
python_countexecutableindexed executableDiscovered from the local executable index.
ruby_countexecutableindexed executableDiscovered from the local executable index.
sed_countexecutableindexed executableDiscovered from the local executable index.
sh_countexecutableindexed executableDiscovered from the local executable index.
show_filecountexecutableindexed executableDiscovered from the local executable index.
sloccountexecutableindexed executableDiscovered from the local executable index.
sql_countexecutableindexed executableDiscovered from the local executable index.
tcl_countexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2.26
manager updated2026-07-12
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:sloccount
Version2.26
Package managerHomebrew
Homepagehttps://dwheeler.com/sloccount/
Last updated2026-07-12T23:29:51+09:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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-45.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.5

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
  • cross-ecosystem install command graph
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation