pcb2gcode can be installed via apt
Installing the latest version:
https://github.com/pcb2gcode/pcb2gcode#installation-from-git-latest-development-version
Specifically:
https://github.com/pcb2gcode/pcb2gcode?tab=readme-ov-file#debian-testing-or-newer-ubuntu-wily-or-newer
This step causes error:
checking for libgerbv >= 2.1.0... no
configure: error: Package requirements (libgerbv >= 2.1.0) were not met:
Requested 'libgerbv >= 2.1.0' but version of libgerbv is
To fix, Edit the file