![]() One place to set the PATH will be the file /etc/profile. All *nix OSes have funny places for storing allowing the user to edit the PATH. If you installed teTeX via the i-Installer provided on the TexShop website, it will automatically update your PATHs for you. That is why TexShop installs teTeX in /usr/local/bin. If you install additional software, it is usually recommended that you install them somewhere other than /usr/bin or /bin, since these are normally reserved for the system utilities. So in effect, the PATH variable acts as a kind of short-cut, storing the location of commonly used executables so you needed type in the full path when you call those executables. This saves you from having to type out the entire path to the command. For example if you type in the command 'man', the OS will look through the paths on the PATH variable for the command man. The PATH environment variable is the path where the OS will know to look for executables.
0 Comments
Leave a Reply. |