Is there a simulation of arduino under Linux ?

There are various simulations.

The point however, is that the Arduino is largely used with attached hardware, and apart from a LED or two, that hardware is not readily amenable to simulation.