Terrascan Version: Latest Operating System: Kali WSL on Windows
Description
Look, whoever wrote these installation instructions might want to reconsider their career choices. The install script is a joke—it's like you didn't even test it on anything.
First problem: trailing #
Why in the world would you put a # in the beginning of a shell command in a code-Box? This isn't a place for comment syntax. It breaks the whole copy-paste experience. If you're going to provide a one-liner, at least make sure it works after someone pastes it into their terminal. A six-year-old could’ve done better.
Second problem: deleting files right after installing theminstall terrascan /usr/local/bin && rm terrascan—are you serious? This is such a stupid practice that it's hard to know where to begin. If something goes wrong, congratulations! The binary is gone, and there's no way to debug the issue. Stop trying to be clever with && chains where they don't belong.
Third problem: the wrong binary
Even after forcing the install with sudo, I get hit with this gem:
-bash: /usr/local/bin/terrascan: cannot execute binary file: Exec format error
Turns out, the binary you provided is for macOS (Mach-O format). You do realize that most Admins are running Windows or Linux, right? This isn't macOS, and yet you’re handing me a Mach-O binary. Nice job! Way to completely ignore platform compatibility. Bravo.
Terrascan Version: Latest
Operating System: Kali WSL on Windows
Description
Look, whoever wrote these installation instructions might want to reconsider their career choices. The install script is a joke—it's like you didn't even test it on anything.
First problem: trailing
#
Why in the world would you put a#
in the beginning of a shell command in a code-Box? This isn't a place for comment syntax. It breaks the whole copy-paste experience. If you're going to provide a one-liner, at least make sure it works after someone pastes it into their terminal. A six-year-old could’ve done better.Second problem: deleting files right after installing them
install terrascan /usr/local/bin && rm terrascan
—are you serious? This is such a stupid practice that it's hard to know where to begin. If something goes wrong, congratulations! The binary is gone, and there's no way to debug the issue. Stop trying to be clever with&&
chains where they don't belong.Third problem: the wrong binary Even after forcing the install with
sudo
, I get hit with this gem:Turns out, the binary you provided is for macOS (Mach-O format). You do realize that most Admins are running Windows or Linux, right? This isn't macOS, and yet you’re handing me a Mach-O binary. Nice job! Way to completely ignore platform compatibility. Bravo.
What I Did
This isn't hard. Provide the right binary for Linux. Fix your instructions. This is just embarrassing.