9.3.1.5. Include RHN Packages in the PATH

9.3.1.5. Include RHN Packages in the PATH

In order to make the RHN packages available at each login, you may wish to add them to your PATH. To do so, add these commands to your login script:

# PATH=$PATH:/opt/redhat/rhn/solaris/bin 
# PATH=$PATH:/opt/redhat/rhn/solaris/usr/bin 
# PATH=$PATH:/opt/redhat/rhn/solaris/usr/sbin 
# export PATH

To enable access to the RHN client command man pages, add them to your MANPATH. To do so, add the following commands to your login script:

 
# MANPATH=$MANPATH:/opt/redhat/rhn/solaris/man 
# export MANPATH

Alternatively, you can also access the man pages from the command line, with the following command:

 
# man -M /opt/redhat/rhn/solaris/man <man page> 

Finally, add the Red Hat Libraries to your PATH as you did with libgcc, openssl and zlib.

crle -c /var/ld/ld.config -l <current library paths>:/opt/redhat/rhn/solaris/lib