psmisc-inst.xml 1.0 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;
  5. make &amp;&amp;
  6. 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
  20. ln -s killall pidof</userinput></screen></para>
  21. </sect2>