I've got a fan connected to GPIO 14, but am having trouble getting pi-fancontrol to work on my Ubuntu 21.04 install on an RPi4. The official docs say to run
snap connect pi-fancontrol:gpio pi:bcm-gpio-14
but this throws an error:
error: snap "pi" is not installed
The program is visible in my snap store installed programs. What is the "pi" that's not installed? Is it even possible to run something through the GPIO pins using straight Ubuntu?