@@ -145,17 +145,25 @@ mkdir -p ~/bin
145145# then install the binary to ~/bin/apm and add ~/bin to PATH
146146```
147147
148- ### Binary install fails on older Linux (devcontainers, Debian Bookworm )
148+ ### Binary install fails on older Linux (devcontainers, Debian-based images )
149149
150- On systems with glibc older than 2.39 (e.g., Debian Bookworm with glibc 2.36), the
151- pre-built binary may fail to run. The installer automatically detects this and falls
152- back to installing APM via ` pip install --user apm-cli ` .
150+ On systems with a glibc version older than what the pre-built binary requires, the
151+ binary will fail to run. This commonly affects Debian Bookworm-based devcontainers
152+ (glibc 2.36) since the binary is built on Ubuntu 24.04 (glibc 2.39). The installer
153+ automatically detects incompatible glibc versions and falls back to
154+ ` pip install --user apm-cli ` .
153155
154156This installs the ` apm ` command into your user ` bin ` directory (commonly ` ~/.local/bin ` ).
155157If ` apm ` is not found after installation, ensure that this directory is on your ` PATH ` .
156158
159+ ** Recommended fix for devcontainers:** switch your base image from ` bookworm ` to
160+ ` trixie ` (e.g., ` mcr.microsoft.com/devcontainers/universal:24-trixie ` ), which ships
161+ glibc 2.40+ and runs the pre-built binary directly.
162+
157163If you prefer to install via pip directly:
158164
165+ ``` bash
166+ pip install --user apm-cli
159167```
160168
161169### Authentication errors when installing packages
0 commit comments