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