psmisc-inst.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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 <emphasis>--exec-prefix=/</emphasis> flag will cause the
  7. programs to be installed in /bin rather than in /usr/bin. The programs
  8. in this package are often used in bootscripts; they should be in the /bin
  9. directory so they can be used in the event that the <filename
  10. class="directory">/usr</filename> partition isn't mounted.</para>
  11. <para>Compile the package:</para>
  12. <para><screen><userinput>make</userinput></screen></para>
  13. <para>And install it:</para>
  14. <para><screen><userinput>make install</userinput></screen></para>
  15. <para>Psmisc's <userinput>pidof</userinput> program isn't installed by default.
  16. Generally, this isn't a problem because we later install the Sysvinit package,
  17. which provides a better <userinput>pidof</userinput> program.</para>
  18. <para>It's up to you to decide if you are going to use the Sysvinit package,
  19. which provides a <userinput>pidof</userinput> program, or not. If you're not
  20. going to use Sysvinit, you should complete this package's installation by
  21. creating the <filename>/bin/pidof</filename> symlink:</para>
  22. <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
  23. </sect2>