Can I control analog IO pins using Yun Linux
There are several libraries which will do this for you. Basically, you should upload a special sketch onto the Arduino, which listens to the serial port, and performs the I/O that the Linux chip requests. Libraries which can do this are


Firmata
Autobahn
LininoIO