findutils-inst.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <sect2>
  2. <title>Installing Findutils</title>
  3. <para>This package requires its patch to be applied before you can
  4. install it. Make sure it's unpacked before running the installation
  5. commands.</para>
  6. <para>Install Findutils by running the following commands:</para>
  7. <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &amp;&amp;
  8. ./configure --prefix=/usr &amp;&amp;
  9. make libexecdir=/usr/bin &amp;&amp;
  10. make libexecdir=/usr/bin install</userinput></screen></para>
  11. </sect2>
  12. <sect2>
  13. <title>FHS compliance notes</title>
  14. <para>By default, the location of the updatedb database is in /usr/var.
  15. If you would rather be FHS compliant, you may wish to use another
  16. location. The following commands use the database file
  17. <filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
  18. <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &amp;&amp;
  19. ./configure --prefix=/usr &amp;&amp;
  20. make localstatedir=/var/lib/misc libexecdir=/usr/bin &amp;&amp;
  21. make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
  22. </sect2>