Building Software Packages for Linux: Final Steps

prev-8441227 next-5100579 toc-4971673

Read the software package documentation to determine whether certain environmental variables need setting (in .bashrc or .cshrc) and if the .Xdefaults and .Xresources files need customizing.

There may be an applications default file, usually named Xfoo.ad in the original Xfoo distribution. If so, edit the Xfoo.ad file to customize it for your machine, then rename (mv) it Xfoo and install it in the /usr/lib/X11/app-defaults directory, as root. Failure to do this may cause the software to misbehave or even refuse to run.

Most software packages come with one or more preformatted man pages. As root, copy the Xfoo.man file to the appropriate /usr/man directory (man1man9), and rename it accordingly. For example, if Xfoo.man ends up in /usr/man/man4, it should be renamed Xfoo.4 (mv Xfoo.man Xfoo.4).

Note that some or all of the above procedures may in certain cases be handled automatically by a make install. If so, the README or INSTALL doc file will specify this.

prev-8441227 next-5100579 toc-4971673

READ  Securing Linux: The First Steps LG #47