Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

106.20. can-utils-2025.01

candump, cansend, cangen and the rest of the SocketCAN command set

2025.01-1 · GPL-2.0-only AND LGPL-2.0-only AND (GPL-2.0-only OR BSD-3-Clause) · 0.1 SBU · 1.2 MiB, 41 files · 41_system, 812 of 1047 · ports/core/network/can-utils

Homepage: https://github.com/linux-can/can-utils

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/network.txt:

SocketCAN is in the kernel and these are the commands that use it. A vehicle or a machine bus is otherwise a device node with nothing to point at it.

Depends on: cmake.

Required by (1): python3-cantools.

Sources: can-utils-2025.01.tar.gz (237.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install can-utils'

build.sh:

export CFLAGS="$CFLAGS -include time.h"

mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make
make DESTDIR=$PKG install

Programs: asc2log, bcmserver, can-calc-bit-timing, canbusload, candump, canfdtest, cangen, cangw, canlogserver, canplayer, cansend, cansequence, cansniffer, isobusfs-cli, isobusfs-srv, isotpdump, isotpperf, isotprecv, isotpsend, isotpserver, isotpsniffer, isotptun, j1939-timedate-cli, j1939-timedate-srv, j1939acd, j1939cat, j1939spy, j1939sr, log2asc, log2long, mcp251xfd-dump, slcan_attach, slcand, slcanpty, testj1939.

Libraries: libisobusfs.so.

Directories: /usr/share/licenses/can-utils.