util-linux

Collection of Linux utilities.

Latest version: 2.39.2

Add to xmake.lua

add_requires("util-linux 2.39.2")

Learn how to add and link packages with Xmake →

Information

License
GPL-2.0
Recipe updated
2023-11-22T14:28:43.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64

Options

cal
Enable cal. · Type: boolean · Default: false
chfn-chsh
Enable chfn-chsh. · Type: boolean · Default: false
ipcrm
Enable ipcrm. · Type: boolean · Default: false
ipcs
Enable ipcs. · Type: boolean · Default: false
kill
Enable kill. · Type: boolean · Default: false
libblkid
Enable libblkid. · Type: boolean · Default: false
libfdisk
Enable libfdisk. · Type: boolean · Default: false
libmount
Enable libmount. · Type: boolean · Default: false
libsmartcols
Enable libsmartcols. · Type: boolean · Default: false
libuuid
Enable libuuid. · Type: boolean · Default: false
login
Enable login. · Type: boolean · Default: false
makeinstall-chown
Enable makeinstall-chown. · Type: boolean · Default: false
makeinstall-setuid
Enable makeinstall-setuid. · Type: boolean · Default: false
mount
Enable mount. · Type: boolean · Default: false
nls
Enable Native Language Support. · Type: boolean · Default: false
runuser
Enable runuser. · Type: boolean · Default: false
su
Enable su. · Type: boolean · Default: false
systemd
Enable systemd. · Type: boolean · Default: false
use-tty-group
Enable use-tty-group. · Type: boolean · Default: false
wall
Enable wall. · Type: boolean · Default: false

Versions

  • 2.32.1
  • 2.36.2
  • 2.39
  • 2.39.2

Dependencies

Used by (2)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "util-linux 2.39.2"

show info

xrepo info "util-linux"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("util-linux 2.39.2")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("util-linux")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "util-linux 2.39.2" shell