When installing software on your Unix system, keep in mind two things. First, most software, including a script, relies on other programs or scripts being available at specific places within the system. For example, a script might require that the bash shell be available and located at /bin/bash. Or, a program might expect that it will be in /usr/local/bin and that all user home directories will be under /home. So, you should pay special attention during the installation process to make sure that all other required scripts or programs are available.
Second, programs (but not scripts) are compiled, which means that they're taken from one probably-mostly-readable-to-you language (generically called source code)and translated into computer-readable files (often called binaries). As software is compiled, hardware and operating system-specific characteristics (or dependencies) are built in. So, a program that's compiled to run on a specific platform and operating system cannot run on other onesthat is, a program compiled on Linux on a Pentium cannot run on Linux on a SPARC, Solaris on a Pentium, or Digital Unix on an Alpha.
In fact, most Unix programs are distributed as source code, not as binaries, so you can compile them for your particular system when installing.