Most boards use a Debian derivative as their official linux based platform so the library is best tested on debian.
Because Go executables are statically linked by default, there should be no
problem to run a
periph based executable on a
You may have to run the executable as root to be able to access the LEDs, GPIOs and other functionality.
It is possible to change the ACL on the sysfs files via udev rules to enable running without root level. The actual rules are distro specific. That said, using memory mapped GPIO registers usually require root anyway.
Some drivers in periph.io/x/extra requires
On Debian, including Raspbian and Ubuntu, you need to install pkg-config to
sudo apt install pkg-config