pkg.soopen package index

brew / rank 121

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-07-14. Also installable with debian: sudo apt install bsdextrautils.

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 util-linux

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

Debian aptverified · 92%
sudo apt install util-linux

Debian stable package indexes · util-linux · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install util-linux

Fedora Rawhide package metadata · util-linux · 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 util-linux

openSUSE Tumbleweed package metadata · util-linux · 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 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
addpartexecutableindexed executableDiscovered from the local executable index.
agettyexecutableindexed executableDiscovered from the local executable index.
bitsexecutableindexed executableDiscovered from the local executable index.
blkdiscardexecutableindexed executableDiscovered from the local executable index.
blkidexecutableindexed executableDiscovered from the local executable index.
blkprexecutableindexed executableDiscovered from the local executable index.
blkzoneexecutableindexed executableDiscovered from the local executable index.
blockdevexecutableindexed executableDiscovered from the local executable index.
calexecutableindexed executableDiscovered from the local executable index.
cfdiskexecutableindexed executableDiscovered from the local executable index.
chcpuexecutableindexed executableDiscovered from the local executable index.
chmemexecutableindexed executableDiscovered from the local executable index.
choomexecutableindexed executableDiscovered from the local executable index.
chrtexecutableindexed executableDiscovered from the local executable index.
colexecutableindexed executableDiscovered from the local executable index.
colcrtexecutableindexed executableDiscovered from the local executable index.
colrmexecutableindexed executableDiscovered from the local executable index.
columnexecutableindexed executableDiscovered from the local executable index.
copyfilerangeexecutableindexed executableDiscovered from the local executable index.
coreschedexecutableindexed executableDiscovered from the local executable index.
ctrlaltdelexecutableindexed executableDiscovered from the local executable index.
delpartexecutableindexed executableDiscovered from the local executable index.
dmesgexecutableindexed executableDiscovered from the local executable index.
ejectexecutableindexed executableDiscovered from the local executable index.
enosysexecutableindexed executableDiscovered from the local executable index.
exchexecutableindexed executableDiscovered from the local executable index.
fadviseexecutableindexed executableDiscovered from the local executable index.
fallocateexecutableindexed executableDiscovered from the local executable index.
fdiskexecutableindexed executableDiscovered from the local executable index.
fincoreexecutableindexed executableDiscovered from the local executable index.
findfsexecutableindexed executableDiscovered from the local executable index.
findmntexecutableindexed executableDiscovered from the local executable index.
flockexecutableindexed executableDiscovered from the local executable index.
fsckexecutableindexed executableDiscovered from the local executable index.
fsck.cramfsexecutableindexed executableDiscovered from the local executable index.
fsck.minixexecutableindexed executableDiscovered from the local executable index.
fsfreezeexecutableindexed executableDiscovered from the local executable index.
fstrimexecutableindexed executableDiscovered from the local executable index.
getinoexecutableindexed executableDiscovered from the local executable index.
getoptexecutableindexed executableDiscovered from the local executable index.
hardlinkexecutableindexed executableDiscovered from the local executable index.
hexdumpexecutableindexed executableDiscovered from the local executable index.
hwclockexecutableindexed executableDiscovered from the local executable index.
ioniceexecutableindexed executableDiscovered from the local executable index.
ipcmkexecutableindexed executableDiscovered from the local executable index.
ipcrmexecutableindexed executableDiscovered from the local executable index.
ipcsexecutableindexed executableDiscovered from the local executable index.
irqtopexecutableindexed executableDiscovered from the local executable index.
isosizeexecutableindexed executableDiscovered from the local executable index.
lastexecutableindexed executableDiscovered from the local executable index.
lastbexecutableindexed executableDiscovered from the local executable index.
lastlog2executableindexed executableDiscovered from the local executable index.
ldattachexecutableindexed executableDiscovered from the local executable index.
linux32executableindexed executableDiscovered from the local executable index.
linux64executableindexed executableDiscovered from the local executable index.
loggerexecutableindexed executableDiscovered from the local executable index.
lookexecutableindexed executableDiscovered from the local executable index.
losetupexecutableindexed executableDiscovered from the local executable index.
lsblkexecutableindexed executableDiscovered from the local executable index.
lsclocksexecutableindexed executableDiscovered from the local executable index.
lscpuexecutableindexed executableDiscovered from the local executable index.
lsfdexecutableindexed executableDiscovered from the local executable index.
lsipcexecutableindexed executableDiscovered from the local executable index.
lsirqexecutableindexed executableDiscovered from the local executable index.
lslocksexecutableindexed executableDiscovered from the local executable index.
lsloginsexecutableindexed executableDiscovered from the local executable index.
lsmemexecutableindexed executableDiscovered from the local executable index.
lsnsexecutableindexed executableDiscovered from the local executable index.
mcookieexecutableindexed executableDiscovered from the local executable index.
mesgexecutableindexed executableDiscovered from the local executable index.
mkfsexecutableindexed executableDiscovered from the local executable index.
mkfs.bfsexecutableindexed executableDiscovered from the local executable index.
mkfs.cramfsexecutableindexed executableDiscovered from the local executable index.
mkfs.minixexecutableindexed executableDiscovered from the local executable index.
mkswapexecutableindexed executableDiscovered from the local executable index.
moreexecutableindexed executableDiscovered from the local executable index.
mountexecutableindexed executableDiscovered from the local executable index.
mountpointexecutableindexed executableDiscovered from the local executable index.
nameiexecutableindexed executableDiscovered from the local executable index.
nologinexecutableindexed executableDiscovered from the local executable index.
nsenterexecutableindexed executableDiscovered from the local executable index.
partxexecutableindexed executableDiscovered from the local executable index.
pipeszexecutableindexed executableDiscovered from the local executable index.
pivot_rootexecutableindexed executableDiscovered from the local executable index.
prlimitexecutableindexed executableDiscovered from the local executable index.
readprofileexecutableindexed executableDiscovered from the local executable index.
renameexecutableindexed executableDiscovered from the local executable index.
reniceexecutableindexed executableDiscovered from the local executable index.
resizepartexecutableindexed executableDiscovered from the local executable index.
revexecutableindexed executableDiscovered from the local executable index.
rfkillexecutableindexed executableDiscovered from the local executable index.
rtcwakeexecutableindexed executableDiscovered from the local executable index.
scriptexecutableindexed executableDiscovered from the local executable index.
scriptliveexecutableindexed executableDiscovered from the local executable index.
scriptreplayexecutableindexed executableDiscovered from the local executable index.
setarchexecutableindexed executableDiscovered from the local executable index.
setpgidexecutableindexed executableDiscovered from the local executable index.
setsidexecutableindexed executableDiscovered from the local executable index.
settermexecutableindexed executableDiscovered from the local executable index.
sfdiskexecutableindexed executableDiscovered from the local executable index.
suloginexecutableindexed executableDiscovered from the local executable index.
swaplabelexecutableindexed executableDiscovered from the local executable index.
swapoffexecutableindexed executableDiscovered from the local executable index.
swaponexecutableindexed executableDiscovered from the local executable index.
switch_rootexecutableindexed executableDiscovered from the local executable index.
tasksetexecutableindexed executableDiscovered from the local executable index.
uclampsetexecutableindexed executableDiscovered from the local executable index.
ulexecutableindexed executableDiscovered from the local executable index.
umountexecutableindexed executableDiscovered from the local executable index.
uname26executableindexed executableDiscovered from the local executable index.
unshareexecutableindexed executableDiscovered from the local executable index.
utmpdumpexecutableindexed executableDiscovered from the local executable index.
uuiddexecutableindexed executableDiscovered from the local executable index.
uuidgenexecutableindexed executableDiscovered from the local executable index.
uuidparseexecutableindexed executableDiscovered from the local executable index.
waitpidexecutableindexed executableDiscovered from the local executable index.
wallexecutableindexed executableDiscovered from the local executable index.
wdctlexecutableindexed executableDiscovered from the local executable index.
whereisexecutableindexed executableDiscovered from the local executable index.
wipefsexecutableindexed executableDiscovered from the local executable index.
zramctlexecutableindexed 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.42.2
manager updated2026-07-14
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:util-linux
Version2.42.2
Package managerHomebrew
Homepagehttps://github.com/util-linux/util-linux
Last updated2026-07-14T20:07:13+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%

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