Hello, I've had the exact same problem just two days ago.
Here's how you wanna compile small (pawn) scripts once you downloaded AMXX for Linux.
1. Open Xterm (or default system terminal):
2. Select (cd) your game folder.
3. Type "./amxxpc {SCRIPT}.sma" and you are done, compilation logs will be showed shortly after.