macOS
brew install util-linuxlocal Homebrew formula metadata
sudo port install util-linuxMacPorts ports tree · devel/util-linux/Portfile · source: api.github.com
brew
Collection of Linux utilities. Version 2.42.2 via Homebrew; verified 2026-06-16.
install
brew install util-linuxlocal Homebrew formula metadata
sudo port install util-linuxMacPorts ports tree · devel/util-linux/Portfile · source: api.github.com
sudo apk add agettyAlpine Linux edge package indexes · agetty · source: dl-cdn.alpinelinux.org
sudo apt install bsdextrautilsDebian stable package indexes · bsdextrautils · source: deb.debian.org
sudo dnf install libblkidFedora Rawhide package metadata · libblkid · source: dl.fedoraproject.org
nix profile install nixpkgs#util-linuxnixpkgs package indexes · pkgs/by-name/ut/util-linux/package.nix · source: api.github.com
sudo pacman -S util-linuxArch Linux sync databases · util-linux · source: geo.mirror.pkgbuild.com
sudo zypper install libblkid-developenSUSE Tumbleweed package metadata · libblkid-devel · source: download.opensuse.org
winget install --id Cal.Cal -eWindows Package Manager source index · Cal.Cal · source: cdn.winget.microsoft.com
overview
Collection of Linux utilities
history
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.
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.
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.
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.
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
addpart | cli | global executable | |
agetty | cli | global executable | |
bits | cli | global executable | |
blkdiscard | cli | global executable | |
blkid | cli | global executable | |
blkpr | cli | global executable | |
blkzone | cli | global executable | |
blockdev | cli | global executable | |
cal | cli | global executable | |
cfdisk | cli | global executable | |
chcpu | cli | global executable | |
chmem | cli | global executable | |
choom | cli | global executable | |
chrt | cli | global executable | |
col | cli | global executable | |
colcrt | cli | global executable | |
colrm | cli | global executable | |
column | cli | global executable | |
copyfilerange | cli | global executable | |
coresched | cli | global executable | |
ctrlaltdel | cli | global executable | |
delpart | cli | global executable | |
dmesg | cli | global executable | |
eject | cli | global executable | |
enosys | cli | global executable | |
exch | cli | global executable | |
fadvise | cli | global executable | |
fallocate | cli | global executable | |
fdisk | cli | global executable | |
fincore | cli | global executable | |
findfs | cli | global executable | |
findmnt | cli | global executable | |
fsck | cli | global executable | |
fsck.cramfs | cli | global executable | |
fsck.minix | cli | global executable | |
fsfreeze | cli | global executable | |
fstrim | cli | global executable | |
getino | cli | global executable | |
hardlink | cli | global executable | |
hexdump | cli | global executable | |
hwclock | cli | global executable | |
ionice | cli | global executable | |
ipcmk | cli | global executable | |
ipcrm | cli | global executable | |
ipcs | cli | global executable | |
irqtop | cli | global executable | |
isosize | cli | global executable | |
last | cli | global executable | |
lastb | cli | global executable | |
lastlog2 | cli | global executable | |
ldattach | cli | global executable | |
linux32 | cli | global executable | |
linux64 | cli | global executable | |
logger | cli | global executable | |
look | cli | global executable | |
losetup | cli | global executable | |
lsblk | cli | global executable | |
lsclocks | cli | global executable | |
lscpu | cli | global executable | |
lsfd | cli | global executable | |
lsipc | cli | global executable | |
lsirq | cli | global executable | |
lslocks | cli | global executable | |
lslogins | cli | global executable | |
lsmem | cli | global executable | |
lsns | cli | global executable | |
mcookie | cli | global executable | |
mesg | cli | global executable | |
mkfs | cli | global executable | |
mkfs.bfs | cli | global executable | |
mkfs.cramfs | cli | global executable | |
mkfs.minix | cli | global executable | |
mkswap | cli | global executable | |
more | cli | global executable | |
mount | cli | global executable | |
mountpoint | cli | global executable | |
namei | cli | global executable | |
nologin | cli | global executable | |
nsenter | cli | global executable | |
partx | cli | global executable | |
pipesz | cli | global executable | |
pivot_root | cli | global executable | |
prlimit | cli | global executable | |
readprofile | cli | global executable | |
renice | cli | global executable | |
resizepart | cli | global executable | |
rev | cli | global executable | |
rfkill | cli | global executable | |
rtcwake | cli | global executable | |
script | cli | global executable | |
scriptlive | cli | global executable | |
scriptreplay | cli | global executable | |
setarch | cli | global executable | |
setpgid | cli | global executable | |
setsid | cli | global executable | |
setterm | cli | global executable | |
sfdisk | cli | global executable | |
sulogin | cli | global executable | |
swaplabel | cli | global executable | |
swapoff | cli | global executable | |
swapon | cli | global executable | |
switch_root | cli | global executable | |
taskset | cli | global executable | |
uclampset | cli | global executable | |
ul | cli | global executable | |
umount | cli | global executable | |
uname26 | cli | global executable | |
unshare | cli | global executable | |
utmpdump | cli | global executable | |
uuidd | cli | global executable | |
uuidgen | cli | global executable | |
uuidparse | cli | global executable | |
waitpid | cli | global executable | |
wall | cli | global executable | |
wdctl | cli | global executable | |
whereis | cli | global executable | |
wipefs | cli | global executable | |
zramctl | cli | global executable |
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.
https://github.com/util-linux/util-linux
install metadata
| Package key | brew:util-linux |
|---|---|
| Version | 2.42.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/util-linux |
| Homepage | https://github.com/util-linux/util-linux |
| Repository | https://github.com/util-linux/util-linux |
| Upstream docs | https://github.com/util-linux/util-linux |
| License | BSD-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 archive | https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-2.42.2.tar.xz |
| Last updated | 2026-06-16T16:46:26Z |
| Pulse | updated |
| Dependencies | gettext |
| Build dependencies | pkgconf |
| Uses from macOS | libxcrypt, ncurses, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | The 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 | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | util-linux |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bsdextrautils 2.41-5
extra utilities from 4.4BSD-Lite
https://github.com/util-linux/util-linux
sudo apt install bsdextrautilsbsdutils 1:2.41-5
basic utilities from 4.4BSD-Lite
https://github.com/util-linux/util-linux
sudo apt install bsdutilseject 2.41-5
ejects CDs and operates CD-Changers under Linux
https://github.com/util-linux/util-linux
sudo apt install ejectfdisk 2.41-5
collection of partitioning utilities
https://github.com/util-linux/util-linux
sudo apt install fdisklastlog2 2.41-5
Read lastlog2 database
https://github.com/util-linux/util-linux
sudo apt install lastlog2libblkid-dev 2.41-5
block device ID library - headers
https://github.com/util-linux/util-linux
sudo apt install libblkid-devlibblkid1 2.41-5
block device ID library
https://github.com/util-linux/util-linux
sudo apt install libblkid1libfdisk-dev 2.41-5
fdisk partitioning library - headers
https://github.com/util-linux/util-linux
sudo apt install libfdisk-devlibfdisk1 2.41-5
fdisk partitioning library
https://github.com/util-linux/util-linux
sudo apt install libfdisk1liblastlog2-2 2.41-5
lastlog2 database shared library
https://github.com/util-linux/util-linux
sudo apt install liblastlog2-2liblastlog2-dev 2.41-5
liblastlog2 development files
https://github.com/util-linux/util-linux
sudo apt install liblastlog2-devlibmount-dev 2.41-5
device mounting library - headers
https://github.com/util-linux/util-linux
sudo apt install libmount-devlibmount1 2.41-5
device mounting library
https://github.com/util-linux/util-linux
sudo apt install libmount1libpam-lastlog2 2.41-5
lastlog2 database PAM module
https://github.com/util-linux/util-linux
sudo apt install libpam-lastlog2libsmartcols-dev 2.41-5
smart column output alignment library - headers
https://github.com/util-linux/util-linux
sudo apt install libsmartcols-devlibsmartcols1 2.41-5
smart column output alignment library
https://github.com/util-linux/util-linux
sudo apt install libsmartcols1source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.