diff options
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r-- | chapter06/shellutils-inst.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index 9c7cee0b9..e883b75ac 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -1,13 +1,18 @@ <sect2> <title>Installation of Sh-utils</title> +<para>This package requires its hostname-patch to be applied before you +can install it. Make sure it's unpacked before running the installation +commands.</para> + <para>Install Sh-utils by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr && +<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch && +./configure --prefix=/usr && make && make install && -mv /usr/bin/{basename,date,echo,false,hostname} /bin && -mv /usr/bin/{pwd,sleep,stty,su,test,true,uname} /bin && +mv /usr/bin/{basename,date,echo,false,pwd} /bin && +mv /usr/bin/{sleep,stty,su,test,true,uname} /bin && mv /usr/bin/chroot /usr/sbin</userinput></screen></para> </sect2> |