Automic VaultAutomic Vault

brew

Install util-linux with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget

Collection of Linux utilities. Version 2.42.2 via Homebrew; verified 2026-06-16.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install util-linux

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install util-linux

MacPorts ports tree · devel/util-linux/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add agetty

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

Debian aptverified · 92%
sudo apt install bsdextrautils

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

Fedora dnfverified · 92%
sudo dnf install libblkid

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

Nixverified · 92%
nix profile install nixpkgs#util-linux

nixpkgs package indexes · pkgs/by-name/ut/util-linux/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S util-linux

Arch Linux sync databases · util-linux · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libblkid-devel

openSUSE Tumbleweed package metadata · libblkid-devel · source: download.opensuse.org

Windows

Windows Package Managerverified · 92%
winget install --id Cal.Cal -e

Windows Package Manager source index · Cal.Cal · source: cdn.winget.microsoft.com

overview

Package summary

Collection of Linux utilities

Commands and aliases

  • addpart
  • agetty
  • bits
  • blkdiscard
  • blkid
  • blkpr
  • blkzone
  • blockdev
  • cal
  • cfdisk
  • chcpu
  • chmem
  • choom
  • chrt
  • col
  • colcrt
  • colrm
  • column
  • copyfilerange
  • coresched
  • ctrlaltdel
  • delpart
  • dmesg
  • eject
  • enosys
  • exch
  • fadvise
  • fallocate
  • fdisk
  • fincore
  • findfs
  • findmnt

history

Project history and usage

util-linux is a long-running collection of Linux system utilities. Its README calls it a random collection of Linux utilities, and the input executable list shows the breadth: partitioning, block-device inspection, login/session tools, scheduling tools, namespace tools, terminal utilities, UUID tools, and many small commands that scripts and administrators expect to exist.

Project history

The official Git history reaches back to 1992-10-31, making util-linux one of the oldest still-maintained user-space utility collections in the Linux ecosystem. Its history is partly a history of consolidating small Unix/Linux commands that distributions needed to ship somewhere.

The README records an important naming era: from 2006 to 2010 the project was named util-linux-ng. Release notes for util-linux-ng 2.13, dated 2007-08-28, show the package modernizing around autotools, SELinux and audit support, mount changes, libblkid/libvolume_id probing, and additions such as rtcwake.

The AUTHORS file shows util-linux as an aggregation point for tools and libraries from many origins. It records commands merged from e2fsprogs, sysvinit, coreutils-derived code, schedutils, rfkill, and individual contributors, while also listing core libraries such as libblkid, libmount, libuuid, libsmartcols, and liblastlog2.

The project continues to evolve rather than merely preserve legacy commands. The 2.40 release notes introduced new commands and libraries such as lastlog2, lsclocks, enosys, exch, and setpgid, plus filtering and counter support in libsmartcols used by tools such as lsfd and lsblk.

Adoption history

util-linux is foundational distribution infrastructure. The input package metadata maps the formula to Homebrew, MacPorts, Nix, pacman, and several Linux distribution package families, while also showing that distributions sometimes split the suite into packages named for individual components such as libblkid or bsdextrautils.

Its adoption history is tied to the Linux base system: administrators use its commands directly, shell scripts rely on them, and higher-level tools depend on its libraries for block-device probing, mount handling, UUIDs, and tabular output. Because the suite is broad, packagers often make policy decisions about which commands belong in minimal systems, base installs, rescue images, or compatibility packages.

How it is used

Common package-nerd workflows include using `lsblk`, `blkid`, `findmnt`, `mount`, `umount`, `fdisk`, `sfdisk`, `losetup`, `fstrim`, `uuidgen`, `flock`, `nsenter`, `unshare`, `taskset`, `chrt`, `logger`, `script`, `hexdump`, `more`, and many other commands from the same source package.

The suite also exposes libraries and command behavior that packagers track closely: libmount for mount table behavior, libblkid for probing, libuuid for UUID generation/parsing, libsmartcols for structured terminal tables, and release/deprecation notes that warn when scripts should move to newer flags or commands.

Why package nerds care

util-linux is package-nerd bedrock. It is not one tool but a source package that determines a large part of the Linux command-line substrate, and packaging it means deciding how old Unix interfaces, Linux-specific tools, libraries, translations, suid-sensitive programs, man pages, and distribution splits all fit together.

Its deprecation file is especially relevant to maintainers because it documents compatibility promises and migration paths, such as keeping deprecated utilities in maintenance mode for backward compatibility while recommending replacements like `blockdev --getsz`, `read`, `less` or `more`, and newer output options.

Timeline

  • 1992-10-31: Official Git history begins.
  • 2006-2010: Project known as util-linux-ng according to the README.
  • 2007-08-28: util-linux-ng 2.13 release notes published.
  • 2024-03-27: Official tag v2.40 created.
  • 2024: util-linux 2.40 release notes introduce lastlog2, lsclocks, enosys, exch, and setpgid.
  • 2026-06-30: Official Git history shows ongoing development on libsmartcols.

Related projects

  • The official AUTHORS file records code or tools merged from e2fsprogs, sysvinit, coreutils-derived su, schedutils, and rfkill, and names libraries such as libblkid, libmount, libuuid, libsmartcols, and liblastlog2.

Sources

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

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
addpartcliglobal executable
agettycliglobal executable
bitscliglobal executable
blkdiscardcliglobal executable
blkidcliglobal executable
blkprcliglobal executable
blkzonecliglobal executable
blockdevcliglobal executable
calcliglobal executable
cfdiskcliglobal executable
chcpucliglobal executable
chmemcliglobal executable
choomcliglobal executable
chrtcliglobal executable
colcliglobal executable
colcrtcliglobal executable
colrmcliglobal executable
columncliglobal executable
copyfilerangecliglobal executable
coreschedcliglobal executable
ctrlaltdelcliglobal executable
delpartcliglobal executable
dmesgcliglobal executable
ejectcliglobal executable
enosyscliglobal executable
exchcliglobal executable
fadvisecliglobal executable
fallocatecliglobal executable
fdiskcliglobal executable
fincorecliglobal executable
findfscliglobal executable
findmntcliglobal executable
fsckcliglobal executable
fsck.cramfscliglobal executable
fsck.minixcliglobal executable
fsfreezecliglobal executable
fstrimcliglobal executable
getinocliglobal executable
hardlinkcliglobal executable
hexdumpcliglobal executable
hwclockcliglobal executable
ionicecliglobal executable
ipcmkcliglobal executable
ipcrmcliglobal executable
ipcscliglobal executable
irqtopcliglobal executable
isosizecliglobal executable
lastcliglobal executable
lastbcliglobal executable
lastlog2cliglobal executable
ldattachcliglobal executable
linux32cliglobal executable
linux64cliglobal executable
loggercliglobal executable
lookcliglobal executable
losetupcliglobal executable
lsblkcliglobal executable
lsclockscliglobal executable
lscpucliglobal executable
lsfdcliglobal executable
lsipccliglobal executable
lsirqcliglobal executable
lslockscliglobal executable
lsloginscliglobal executable
lsmemcliglobal executable
lsnscliglobal executable
mcookiecliglobal executable
mesgcliglobal executable
mkfscliglobal executable
mkfs.bfscliglobal executable
mkfs.cramfscliglobal executable
mkfs.minixcliglobal executable
mkswapcliglobal executable
morecliglobal executable
mountcliglobal executable
mountpointcliglobal executable
nameicliglobal executable
nologincliglobal executable
nsentercliglobal executable
partxcliglobal executable
pipeszcliglobal executable
pivot_rootcliglobal executable
prlimitcliglobal executable
readprofilecliglobal executable
renicecliglobal executable
resizepartcliglobal executable
revcliglobal executable
rfkillcliglobal executable
rtcwakecliglobal executable
scriptcliglobal executable
scriptlivecliglobal executable
scriptreplaycliglobal executable
setarchcliglobal executable
setpgidcliglobal executable
setsidcliglobal executable
settermcliglobal executable
sfdiskcliglobal executable
sulogincliglobal executable
swaplabelcliglobal executable
swapoffcliglobal executable
swaponcliglobal executable
switch_rootcliglobal executable
tasksetcliglobal executable
uclampsetcliglobal executable
ulcliglobal executable
umountcliglobal executable
uname26cliglobal executable
unsharecliglobal executable
utmpdumpcliglobal executable
uuiddcliglobal executable
uuidgencliglobal executable
uuidparsecliglobal executable
waitpidcliglobal executable
wallcliglobal executable
wdctlcliglobal executable
whereiscliglobal executable
wipefscliglobal executable
zramctlcliglobal 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.42.2
manager updated2026-06-16
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/util-linux/util-linux

install metadata

Package metadata

Package keybrew:util-linux
Version2.42.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/util-linux
Homepagehttps://github.com/util-linux/util-linux
Repositoryhttps://github.com/util-linux/util-linux
Upstream docshttps://github.com/util-linux/util-linux
LicenseBSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Homebrew-public-domain
Source archivehttps://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-2.42.2.tar.xz
Last updated2026-06-16T16:46:26Z
Pulseupdated
Dependenciesgettext
Build dependenciespkgconf
Uses from macOSlibxcrypt, ncurses, sqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsThe following tools are not supported for macOS, and are therefore not included: addpart agetty blkdiscard blkzone blockdev chcpu chmem choom chrt ctrlaltdel delpart dmesg eject fallocate fdformat fincore findmnt fsck fsfreeze fstrim hwclock ionice ipcrm ipcs kill last ldattach losetup lsblk lscpu lsipc lslocks lslogins lsmem lsns mount mountpoint nsenter partx pivot_root prlimit raw readprofile resizepart rfkill rtcwake script scriptlive setarch setterm sulogin swapoff swapon switch_root taskset umount unshare utmpdump uuidd wall wdctl zramctl

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameutil-linux
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
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%

bsdextrautils 2.41-5

extra utilities from 4.4BSD-Lite

https://github.com/util-linux/util-linux

sudo apt install bsdextrautils
  • Section: utils
  • Architecture: amd64
  • Source Package: util-linux
  • 3 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bsdextrautils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bsdutils 1:2.41-5

basic utilities from 4.4BSD-Lite

https://github.com/util-linux/util-linux

sudo apt install bsdutils
  • Section: utils
  • Architecture: amd64
  • Source Package: util-linux
  • 1 optional deps
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bsdutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

eject 2.41-5

ejects CDs and operates CD-Changers under Linux

https://github.com/util-linux/util-linux

sudo apt install eject
  • Section: utils
  • Architecture: amd64
  • Source Package: util-linux
  • 2 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: eject from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

fdisk 2.41-5

collection of partitioning utilities

https://github.com/util-linux/util-linux

sudo apt install fdisk
  • Section: utils
  • Architecture: amd64
  • Source Package: util-linux
  • 7 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fdisk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lastlog2 2.41-5

Read lastlog2 database

https://github.com/util-linux/util-linux

sudo apt install lastlog2
  • Section: utils
  • Architecture: amd64
  • Source Package: util-linux
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lastlog2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libblkid-dev 2.41-5

block device ID library - headers

https://github.com/util-linux/util-linux

sudo apt install libblkid-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: util-linux
  • 4 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libblkid-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libblkid1 2.41-5

block device ID library

https://github.com/util-linux/util-linux

sudo apt install libblkid1
  • Section: libs
  • Architecture: amd64
  • Source Package: util-linux
  • 1 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libblkid1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfdisk-dev 2.41-5

fdisk partitioning library - headers

https://github.com/util-linux/util-linux

sudo apt install libfdisk-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: util-linux
  • 5 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfdisk-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfdisk1 2.41-5

fdisk partitioning library

https://github.com/util-linux/util-linux

sudo apt install libfdisk1
  • Section: libs
  • Architecture: amd64
  • Source Package: util-linux
  • 3 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfdisk1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblastlog2-2 2.41-5

lastlog2 database shared library

https://github.com/util-linux/util-linux

sudo apt install liblastlog2-2
  • Section: libs
  • Architecture: amd64
  • Source Package: util-linux
  • 2 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblastlog2-2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblastlog2-dev 2.41-5

liblastlog2 development files

https://github.com/util-linux/util-linux

sudo apt install liblastlog2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: util-linux
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblastlog2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmount-dev 2.41-5

device mounting library - headers

https://github.com/util-linux/util-linux

sudo apt install libmount-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: util-linux
  • 5 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmount-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmount1 2.41-5

device mounting library

https://github.com/util-linux/util-linux

sudo apt install libmount1
  • Section: libs
  • Architecture: amd64
  • Source Package: util-linux
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmount1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpam-lastlog2 2.41-5

lastlog2 database PAM module

https://github.com/util-linux/util-linux

sudo apt install libpam-lastlog2
  • Section: admin
  • Architecture: amd64
  • Source Package: util-linux
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpam-lastlog2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsmartcols-dev 2.41-5

smart column output alignment library - headers

https://github.com/util-linux/util-linux

sudo apt install libsmartcols-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: util-linux
  • 3 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsmartcols-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsmartcols1 2.41-5

smart column output alignment library

https://github.com/util-linux/util-linux

sudo apt install libsmartcols1
  • Section: libs
  • Architecture: amd64
  • Source Package: util-linux
  • 1 dependencies
  • normalized package name match
  • Matched by: Util Linux
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsmartcols1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

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
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment