Well, with the script at least you can follow the actions first, so it's better...just don't run it blindly because 2 minutes ago the attacker just put an additonal line of code in...
The executable / installer is more of a Windows thing and we've seen how that arms race is going... even Microsoft are trying to create a Linux-style repo called Windows Store.