iOS isn't based on Linux, it's based on BSD and there are significant differences despite them both being *nix. On top of that, iOS uses cocoa touch for all its UI rather than X11
You might be able to re-compile a simple Linux command line program to run on iOS, but beyond that you'd need a lot of re-engineering