MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« Meson HOME CUnit 64-bit »

IP Utils

Name: IP Utils
Summary: IPv4 and v6 networking utilities
License: BSD 3 clause and GPL v2 or later
Version: 20250605
URL: https://github.com/iputils/iputils/releases/download/20250605/iputils-20250605.tar.xz

Average Build Time: 0.1 SBU
Used Install Space: approximately 160 KiB

Configuration

To configure IP Utils for install into the build root, run the following command:

meson setup --prefix=/usr                               \
            --buildtype=release                         \
            -Dsystemdunitdir=/usr/lib/systemd/system    \
            -DBUILD_PING=false                          \
            -DINSTALL_SYSTEMD_UNITS=true                \
            -DSETCAP_OR_SUID_ARPING=true                \
            -DSETCAP_OR_SUID_CLOCKDIFF=true build .

Compilation and Installation

To compile IP Utils, run the following commands:

cd build
export NINJAJOBS=4
ninja

Next, run the test suite:

meson test

Finally, to install IP Utils into the build tree, run the following commands:

meson install
mv -v /usr/share/iputils /usr/share/doc/

Contents

Contents  
Installed Programs arping, clockdiff, and tracepath
Navigation    
« Meson HOME CUnit 64-bit »