util-linux
brew install util-linux
v2.42.2
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
keg-only
Collection of essential Linux system utilities (fdisk, blkid, mount helpers, UUID tools, etc.) for disk partitioning, block device management, and system configuration.
Why you might care
util-linux provides low-level system utilities that many other tools and scripts depend on as build or runtime dependencies. On macOS, Homebrew installs it keg-only to avoid shadowing native tools; it's primarily useful for cross-platform development workflows or when porting Linux-specific scripts. Most end users won't install it directly—it's pulled in as a transitive dependency.
Runtime dependencies
Build dependencies
Links
- https://github.com/util-linux/util-linux
- GitHub: util-linux/util-linux
- Brew formula source: Formula/u/util-linux.rb
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
Keg-only reason
:shadowed_by_macos — macOS provides the uuid.h header
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"parted",
"lvm2",
"e2fsprogs",
"systemd"
],
"build_dependencies": [
"pkgconf"
],
"categories": [
"sysadmin",
"library",
"build-system"
],
"caveats": "The following tools are not supported for macOS, and are therefore not included:\naddpart\nagetty\nblkdiscard\nblkzone\nblockdev\nchcpu\nchmem\nchoom\nchrt\nctrlaltdel\ndelpart\ndmesg\neject\nfallocate\nfdformat\nfincore\nfindmnt\nfsck\nfsfreeze\nfstrim\nhwclock\nionice\nipcrm\nipcs\nkill\nlast\nldattach\nlosetup\nlsblk\nlscpu\nlsipc\nlslocks\nlslogins\nlsmem\nlsns\nmount\nmountpoint\nnsenter\npartx\npivot_root\nprlimit\nraw\nreadprofile\nresizepart\nrfkill\nrtcwake\nscript\nscriptlive\nsetarch\nsetterm\nsulogin\nswapoff\nswapon\nswitch_root\ntaskset\numount\nunshare\nutmpdump\nuuidd\nwall\nwdctl\nzramctl\n\n",
"conflicts_with": [],
"dependencies": [
"gettext"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Collection of Linux utilities",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:39+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "util-linux",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-17T11:49:56Z",
"github_readme_excerpt": "\n\t\t\t\t util-linux\n\n\t\tutil-linux is a random collection of Linux utilities\n\n Note: for the years 2006-2010 this project was named \"util-linux-ng\".\n\nCOMPILE \u0026 INSTALL:\n\n See Documentation/howto-compilation.txt.\n\nMAILING LIST:\n\n E-MAIL: util-linux@vger.kernel.org\n URL: http://vger.kernel.org/vger-lists.html#util-linux\n ARCHIVE: https://lore.kernel.org/util-linux/\n\n The mailing list will reject email messages that contain:\n - more than 100K characters\n - html\n - spam phrases/keywords\n See: http://vger.kernel.org/majordomo-info.html#taboo\n\nIRC CHANNEL:\n\n #util-linux at libera.chat:\n\n irc://irc.libera.chat/util-linux\n\n The IRC channel and Mailing list are for developers and project\n maintainers. For end users it is recommended to utilize the\n distribution\u0027s support system.\n\nBUG REPORTING:\n\n E-MAIL: util-linux@vger.kernel.org\n Web: https://github.com/util-linux/util-linux/issues\n\n Bug reports with sensitive or private information: Karel Zak \u003ckzak@redhat.com\u003e\n\n This project has no resources to provide support for distribution specific\n issues. For end users it is recommended to utilize the distribution\u0027s\n support system.\n\nNLS (PO TRANSLATIONS):\n\n PO files are maintained by:\n\t https://translationproject.org/domain/util-linux.html\n\nVERSION SCHEMA:\n\n Standard releases:\n\t \u003cmajor\u003e.\u003cminor\u003e[.\u003cmaint\u003e]\n\t major = fatal and deep changes\n\t minor = typical release with new features\n\t maint = maintenance releases; bug fixes only\n\n Development releases:\n\t \u003cmajor\u003e.\u003cminor\u003e-rc\u003cN\u003e\n\nSOURCE CODE:\n\n Download archive:\n\t https://www.kernel.org/pub/linux/utils/util-linux/\n\n See also:\n Documentation/howto-contribute.txt\n Documentation/howto-build-sys.txt\n Documentation/howto-pull-request.txt\n\n SCM (Source Code Management) Repository:\n\n Primary repository:\n\t git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git\n\n Backup re",
"github_repo": "util-linux/util-linux",
"github_stars": 3176,
"github_topics": [],
"homepage": "https://github.com/util-linux/util-linux",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 58927,
"installs_365d": 593246,
"installs_90d": 180585,
"keg_only": 1,
"keg_only_reason": ":shadowed_by_macos \u2014 macOS provides the uuid.h header",
"last_seen": "2026-06-20T23:34:18+00:00",
"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",
"llm_generated_at": "2026-06-20T23:42:45+00:00",
"llm_model": "claude-haiku-4-5",
"name": "util-linux",
"oldnames": [],
"one_liner": "Collection of essential Linux system utilities (fdisk, blkid, mount helpers, UUID tools, etc.) for disk partitioning, block device management, and system configuration.",
"optional_dependencies": [],
"rank_30d": 106,
"rank_365d": 119,
"rank_90d": 115,
"raw_hash": "4fb9bd0fa8d3cce2",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/u/util-linux.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"libxcrypt",
"ncurses",
"sqlite"
],
"version_head": null,
"version_stable": "2.42.2",
"versioned_formulae": [],
"why_use_this": "util-linux provides low-level system utilities that many other tools and scripts depend on as build or runtime dependencies. On macOS, Homebrew installs it keg-only to avoid shadowing native tools; it\u0027s primarily useful for cross-platform development workflows or when porting Linux-specific scripts. Most end users won\u0027t install it directly\u2014it\u0027s pulled in as a transitive dependency."
}