psmisc-inst.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <sect2>
  2. <title>Installation of Psmisc</title>
  3. <para>Install Psmisc by running the following commands:</para>
  4. <para><screen><userinput>./configure --prefix=/usr \
  5. &nbsp;&nbsp;&nbsp;&nbsp;--exec-prefix=/ &amp;&amp;
  6. make &amp;&amp;
  7. make install</userinput></screen></para>
  8. <para>Psmisc installs the
  9. <filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's
  10. pidof program isn't installed by default. Generally that isn't a problem
  11. because we install the sysvinit package later on which provides us with
  12. a better pidof program.</para>
  13. <para>It's up to you now to decide if you are going to use the sysvinit
  14. package which provides a pidof program, or not. If you are going to, you
  15. should remove Psmisc's pidof man page by running:</para>
  16. <para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
  17. <para>If you're not going to use sysvinit, you should complete this
  18. package's installation by creating the <filename>/bin/pidof</filename>
  19. symlink by running:</para>
  20. <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
  21. </sect2>