groff-inst.xml 933 B

12345678910111213141516171819202122232425262728293031
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Groff</title>
  4. <para>Groff expects the environment variable PAGE to contain the default paper
  5. size. For those in the United States, the command below is appropriate. If you
  6. live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
  7. <emphasis>PAGE=A4</emphasis>.</para>
  8. <para>Prepare Groff for compilation:</para>
  9. <screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>
  10. <para>Compile the package:</para>
  11. <screen><userinput>make</userinput></screen>
  12. <para>And install it:</para>
  13. <screen><userinput>make install</userinput></screen>
  14. <para>Some documentation programs, such as <userinput>xman</userinput>,
  15. will not work work properly without the following symlinks:</para>
  16. <screen><userinput>ln -s soelim /usr/bin/zsoelim
  17. ln -s eqn /usr/bin/geqn
  18. ln -s tbl /usr/bin/gtbl</userinput></screen>
  19. </sect2>