faq icon


With the new /usr/local install tree, most packages only require a one-off change to your environment to extend your PATH/MANPATH. Note that if you are a csh user and the proper directories are already in your path, then you probably need to do a "rehash" to get csh to look for the program and add it to its hash table of executable programs.

Although all the examples below put the new binary directories at the end of the user's path variables, it is OK to put them at the front of the paths instead.

HP-UX 11.X setup (once only)

sh/ksh:

 PATH=$PATH:/usr/local/bin:/usr/local/bin/X11
 export PATH
 MANPATH=$MANPATH:/usr/local/man
 export MANPATH
 If there are app-defaults files or GNU info files, then you will need
 one or both of the following two assignments:
 XFILESEARCHPATH=/usr/lib/X11/app-defaults/%N:/usr/local/lib/X11/app-defaults/%N
 export XFILESEARCHPATH
 INFOPATH=$INFOPATH:/usr/local/info
 export INFOPATH
csh:
 set path = ($path /usr/local/bin /usr/local/bin/X11)
 setenv MANPATH $manpath:/usr/local/man
 If there are app-defaults files or GNU info files, then you will need
 one or both of the following two assignments:
 setenv XFILESEARCHPATH /usr/lib/X11/app-defaults/%N:/usr/local/lib/X11/app-defaults/%N
 setenv INFOPATH $INFOPATH:/usr/local/info