psmisc-inst.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Psmisc</title>
  4. <para>Prepare Psmisc for compilation:</para>
  5. <para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
  6. <para>The meaning of the configure option:</para>
  7. <itemizedlist>
  8. <listitem><para><userinput>--exec-prefix=/</userinput>: This causes the
  9. binaries to be installed in <filename>/bin</filename> and not in
  10. <filename>/usr/bin</filename>. As the Psmisc programs are often used in
  11. bootscripts, they should be available also when the <filename>/usr</filename>
  12. filesystem isn't mounted.</para></listitem>
  13. </itemizedlist>
  14. <para>Compile the package:</para>
  15. <para><screen><userinput>make</userinput></screen></para>
  16. <para>And install it:</para>
  17. <para><screen><userinput>make install</userinput></screen></para>
  18. <para>By default Psmisc's <userinput>pidof</userinput> program isn't installed.
  19. Generally, this isn't a problem because we later install the Sysvinit package,
  20. which provides a better <userinput>pidof</userinput> program. But if you're not
  21. going to use Sysvinit, you should complete the installation of Psmisc by
  22. creating the following symlink:</para>
  23. <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
  24. </sect2>