diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 20:39:10 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 20:39:10 +0000 |
commit | 3cf582bf179f7e258da43fd27a37748d8915ea32 (patch) | |
tree | 08d6f5985120ea8a30ea63b9780dfffef298bf8d /chapter06/shellutils-inst.xml | |
parent | 97ed0918f45301ea6bc390c0e830d73cd550ae26 (diff) |
removed fileutils, sh-utils and textutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2493 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r-- | chapter06/shellutils-inst.xml | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml deleted file mode 100644 index d8060eb0a..000000000 --- a/chapter06/shellutils-inst.xml +++ /dev/null @@ -1,48 +0,0 @@ -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of Sh-utils</title> - -<para>This package requires its hostname-patch to be applied before you -can install it. This patch suppresses the build of the hostname program -which will be installed later with the net-tools package. The hostname -program from the net-tools package is a much better version (and in some -cases even required since it supports options that are needed by some -programs such as XFree86). Apply the patch:</para> - -<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch</userinput></screen></para> - -<para>Prepare Shellutils to be compiled:</para> - -<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> - -<para>Continue with compiling the package:</para> - -<para><screen><userinput>make</userinput></screen></para> - -<para>Install the package:</para> - -<para><screen><userinput>make install</userinput></screen></para> - -<para>Finally, move some of the programs to more appropriate -locations:</para> - -<para><screen><userinput>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> - -<sect2> -<title>FHS compliance notes</title> - -<para>There is a command installed in this package which is named test. It is -often used in shell scripts to evaluate conditions, but is more often -encountered in the form of <command>[ condition ]</command>. These brackets -are built into the bash interpreter, but the FHS dictates that there should be a -<filename>[</filename> binary. Create it by running:</para> - -<para><screen><userinput>ln -s test /bin/[</userinput></screen></para> - -</sect2> - |