···44deno run -A jsr:@tsiry/vmlinux-builder 6.17.7
45```
4600000047### Supported Version Formats
4849- `6.1` - Major.Minor version
···44deno run -A jsr:@tsiry/vmlinux-builder 6.17.7
45```
4647+Or with docker:
48+49+```bash
50+docker run --rm -it -v $(pwd):/app tsiry/vmlinux-builder:latest 6.17.7
51+```
52+53### Supported Version Formats
5455- `6.1` - Major.Minor version
+3-1
build.ts
···1#!/usr/bin/env -S deno run --allow-run --allow-read --allow-write --allow-env --allow-net
02import chalk from "chalk";
3import cfg from "./default-config.ts";
4···78console.log(`Building vmlinux for Linux kernel ${chalk.cyan(NUM)}`);
7980const hasAptGet = await runQuiet(["which", "apt-get"]);
081if (hasAptGet) {
82 try {
83 await run([
84- "sudo",
85 "apt-get",
86 "install",
87 "-y",
···1#!/usr/bin/env -S deno run --allow-run --allow-read --allow-write --allow-env --allow-net
2+import _ from "@es-toolkit/es-toolkit/compat";
3import chalk from "chalk";
4import cfg from "./default-config.ts";
5···79console.log(`Building vmlinux for Linux kernel ${chalk.cyan(NUM)}`);
8081const hasAptGet = await runQuiet(["which", "apt-get"]);
82+const hasSudo = await runQuiet(["which", "sudo"]);
83if (hasAptGet) {
84 try {
85 await run([
86+ ..._.compact([hasSudo ? "sudo" : null]),
87 "apt-get",
88 "install",
89 "-y",