Understanding Unix Software Installation


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.

Tip

  • Before you get started with the next section, you might cruise back to Chapters 1 and 2 for information about exploring your Unix system and to Chapter 7 for a reminder of how to find out what operating system and hardware you're using.





Unix(c) Visual Quickstart Guide
UNIX, Third Edition
ISBN: 0321442458
EAN: 2147483647
Year: 2006
Pages: 251

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net