LDP/LDP/retired/LFS/chapter06/psmisc-inst.xml

30 lines
1.0 KiB
XML
Raw Permalink Normal View History

2002-03-20 23:31:55 +00:00
<sect2>
<title>Installation of Psmisc</title>
<para>Install Psmisc by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
2002-10-07 16:04:19 +00:00
<para>Psmisc installs the
<filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's
pidof program isn't installed by default. Generally this isn't a problem,
because we install the Sysvinit package later on which provides
2002-03-20 23:31:55 +00:00
a better pidof program.</para>
2002-10-07 16:04:19 +00:00
<para>It's up to you now to decide if you are going to use the Sysvinit
2002-03-20 23:31:55 +00:00
package which provides a pidof program, or not. If you are going to, you
2002-10-07 16:04:19 +00:00
should remove Psmisc's pidof man page by running:</para>
2002-03-20 23:31:55 +00:00
<para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
2002-10-07 16:04:19 +00:00
<para>If you're not going to use Sysvinit, you should complete this
2002-03-20 23:31:55 +00:00
package's installation by creating the <filename>/bin/pidof</filename>
symlink by running:</para>
2002-10-07 16:04:19 +00:00
<para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para>
2002-03-20 23:31:55 +00:00
</sect2>