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

147.7. gnugo-3.8

GNU Go — a Go engine that plays over GTP, and the opponent for KDE's Kigo

3.8-1 · GPL-3.0-or-later · 2.2 SBU · 7.5 MiB, 7 files · 41_system, 572 of 1047 · ports/core/games-board/gnugo

Homepage: https://www.gnu.org/software/gnugo/

GNU Go is a program that plays Go. Its --mode gtp speaks the Go Text Protocol on standard input and output, which is how kigo, KDE’s Go board, runs it as the computer opponent; it also has an ASCII board of its own in a terminal. The package carries gnugo, its manual page in section 6 and its Texinfo manual.

Depends on: ncurses, readline.

Required by (1): kigo.

Sources: gnugo-3.8.tar.gz (3.1 MiB). Every step kpkg takes applies to this port.

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

build.sh:

export CFLAGS="$CFLAGS -fcommon"

./configure --prefix=/usr --sysconfdir=/etc \
	--with-readline \
	--with-curses
make
make DESTDIR=$PKG install

Programs: gnugo.

Directories: /usr/share/licenses/gnugo.

The engine’s strength settings (level 10, the owl and semeai node limits, the cache size) and its rules (Japanese counting, resignation allowed) are upstream’s compiled-in defaults; Kigo passes the level it wants on the command line. Socket support for GTP over TCP is on by default.