Reading data from an DHT11 using an arduino is fairly simple. Library used: https://github.com/adafruit/DHT-sensor-library
Arduino Linux 64bit package Version 1.0.5
(more see previous blogposts in arduino category)
Clone library in libs folder
try example code:
My DHT11 has a different pin layout:
- + S.
The rest of the example code works without modifications.