Enabling the manual pages

Manual pages are provided for the compiler invocation commands and other utilities that are supplied with the compiler.

The IBM® XL Fortran for Linux, V15.1.5 manual pages support the following locales:
  • en_US
  • en_US.utf8
  • en_US.UTF-8
However, before you can read the compiler-supplied man pages, you must add the full directory path to the MANPATH environment variable. The command that accomplishes this depends on the Linux shell that you are using.
  • To set the MANPATH environment variable using the Bourne, Korn, or BASH shell, use the following command:
    export MANPATH=installation_path/xlf/15.1.5/man/LANG:$MANPATH
  • To set the MANPATH environment variable using the C shell, use the following command:
    setenv MANPATH installation_path/xlf/15.1.5/man/LANG:$MANPATH
where:
  • installation_path is the location where you have installed the XL Fortran packages. By default, this is /opt/ibm/.
  • LANG is any of the language locales as shown in the preceding list.
Note: To set this variable in the Bourne, Korn, or BASH shell so that it applies to all users, add the command to the file /etc/profile. To set it for a specific user only, add the command to the file .profile in the user's home directory. To set this variable in the C shell so that it applies to all users, add the command to the file /etc/csh.cshrc. To set it for a specific user only, add the command to the file .cshrc in the user's home directory. The environment variable is set each time the user logs in.

To test whether the manual pages have been successfully installed, open one or more of the manual pages as described in Viewing the manual pages.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us