You would have to install a package called build-essential to get the tools to compile. I doubt it comes with Tails, since Tails isn't designed to be a development environment, but I could be wrong. As for Wine, at least one person has installed it and it worked: https://tails.boum.org/forum/Wine_and_installing_exe__39__s/ You would have to reinstall it each time though. There are safer set ups than Tails. Whonix is safer. However, you don't get the "leave no trace behind" properties of Tails. One thing you will want to test is whether Wine apps obey Tails proxy settings.