psmisc-inst.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Psmisc</title>
  4. <para>Prepare Psmisc to be compiled:</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>Continue with compiling the package:</para>
  12. <para><screen><userinput>make</userinput></screen></para>
  13. <para>Finish installing the package:</para>
  14. <para><screen><userinput>make install</userinput></screen></para>
  15. <para>Psmisc's pidof program isn't installed by default. Generally, this
  16. isn't a problem because we later install the Sysvinit package, which
  17. provides a better pidof program.</para>
  18. <para>It's up to you to decide if you are going to use the Sysvinit
  19. package, which provides a pidof program, or not. If you're not going to
  20. use Sysvinit, you should complete this package's installation by creating
  21. the <filename>/bin/pidof</filename> symlink:</para>
  22. <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
  23. </sect2>