Use of rpi.gpio in ubuntu mate

Rpi.GPIO does not work in Ubuntu Mate 15.10.1.

Is it possible to use RPi.GPIO in Ubuntu Mate?
Thanks

raspi-gpio is pre-installed, so it should work out of the box.

One way to interface with the GPIO is with python:

>>> import RPi.GPIO as GPIO

For example:

>>> GPIO.setup(18, GPIO.OUT)
>>> GPIO.output(18, False)

1 Like

Thanks,
OK, it works.
I am sorry. There was a stupid error in my python code.