On Mon, Apr 04, 2005 at 06:52:05AM -0700, Eric Groo wrote: > I have recently been able to get my hands on a copy of suse 9.3 and have > generally been very pleased with novell's new product. Upgrades to yast > and its rpm management have automated program installation to a > windows-esqe level. However, while trying to install a copy of maple I > found that the install program neglected to make a command path (or > whatever its called so I could bring up the the program quickly from > the terminal.) I've tried to search the documentation but haven't been > able to find much direction, in part because I don't what this is called > beyond mapping a path (I've had some experience with cygwin.) Any hints
you have a PATH variable that is used to keep track of where the computer looks for executables that you call from the terminal. What you need to do is figure out where the executable is located (ie. what path you have to type in to get to it). Now, you can add that to your PATH variable in your .bashrc. Here's an example of what it could look like: PATH=$PATH:/usr/local/bin:/path/to/maple:.; A quick explanation: the variable is called PATH. When you're using it in an assignment, you use a $ in front... So, if PATH is currently /a/b/c:/d/e/f:/g/h/i, then where we use $PATH in that statement, it will substitute /a/b/c:/d/e/f:/g/h/i. the : is used to separate different paths within the variable. So, in this example, if you were to call a program "foo", the computer would first check for /a/b/c/foo, then /d/e/f/foo, etc. If you open your .bashrc, you may already have a PATH= statement. If so, you can just add your path into this statement. If not, you can add PATH=$PATH:/path/to/maple to the file (of course substituting /path/to/maple with the actual path). To get the computer to pay attention to this change, you can either type 'source ~/.bashrc' in all open terminals, or simply close the terminals and open them again. Hopefully that'll help! -- Erin Sharmahd [EMAIL PROTECTED] CS Student Unix Users Group PGP Fingerprint: F352 FF41 EA0A 67E4 566B 3B5B E65A D3DC 083E 9336
pgp9k6ON2WunX.pgp
Description: PGP signature
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/
