Recommended gpio library

Am using Armbian due to lack of audio support in Radxa Debian.

I encountered the following errors using Radxa libmraa bullseye-stable:

$ sudo apt-get install -y libmraa
...
The following packages have unmet dependencies:
 libmraa : Depends: libjson-c3 but it is not installable
           Depends: python but it is not installable
           Depends: python2.7 but it is not installable
           Depends: libpython2.7 but it is not installable
           Depends: python3.7 but it is not installable
           Depends: libpython3.7 but it is not installable
E: Unable to correct problems, you have held broken packages.

@RadxaYuntian, @radxa your help is most appreciated here.

Libmraa is installed only from the source code now, you can refer to https://wiki.radxa.com/Mraa, for feature, we will support apt installation.

If you only need the C/C++ interface, libgpiod is the GPIO interface that directly utilize Linux kernel’s GPIO support.

Thanks @Nasca, as you suggested, compiling libmraa from source worked, per the instructions here.

Thank @Xi_Yang, I forgot to mention that I am looking for a python interface.