diff options
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r-- | chapter06/bzip2-inst.xml | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index 905e4eb53..c24d79ea3 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -3,25 +3,21 @@ <para>Install Bzip2 by running the following commands:</para> -<para><screen><userinput>make -f Makefile-libbz2_so && -make bzip2recover libbz2.a && -ln -s libbz2.so.1.0.1 libbz2.so && +<para><screen><userinput>make && +make -f Makefile-libbz2_so && +make PREFIX=/usr install && cp bzip2-shared /bin/bzip2 && -cp bzip2recover /bin && -cp bzip2.1 /usr/share/man/man1 && -cp bzlib.h /usr/include && +ln -s libbz2.so.1.0 libbz2.so && cp -a libbz2.so* /lib && -rm /usr/lib/libbz2.a && -cp libbz2.a /usr/lib && cd /usr/lib && ln -sf ../../lib/libbz2.so && +cd /usr/bin && +rm bunzip2 bzcat bzip2 && +mv bzip2recover bzless bzmore /bin && cd /bin && ln -sf bzip2 bunzip2 && -ln -sf bzip2 bzcat && -cd /usr/share/man/man1 && -ln -sf bzip2.1 bunzip2.1 && -ln -sf bzip2.1 bzcat.1 && -ln -sf bzip2.1 bzip2recover.1</userinput></screen></para> +ln -sf bzip2 bzcat</userinput></screen></para> + <para>Although it's not strictly a part of a basic LFS system it's worth mentioning that a patch for Tar can be downloaded which enables the tar |