Corrected tar syntax to include a leading dash (-) before the parameters, as this is needed if the parameters are not the first item after the 'tar' command (standardization)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3311 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-01-19 17:54:31 +00:00
parent be1f34981f
commit 44a2b88be4
6 changed files with 19 additions and 19 deletions

View File

@ -82,7 +82,7 @@ useful for viewing and editing <acronym>AVI</acronym> files.</para>
following commands:</para> following commands:</para>
<screen><userinput><command>install -d /usr/lib/avifile-0.7/win32 &amp;&amp; <screen><userinput><command>install -d /usr/lib/avifile-0.7/win32 &amp;&amp;
tar zxf ../binaries-011002.tgz -C /usr/lib/avifile-0.7 &amp;&amp; tar -zxf ../binaries-011002.tgz -C /usr/lib/avifile-0.7 &amp;&amp;
./configure --prefix=/usr \ ./configure --prefix=/usr \
--with-win32-path=/usr/lib/avifile-0.7/win32 &amp;&amp; --with-win32-path=/usr/lib/avifile-0.7/win32 &amp;&amp;
make &amp;&amp; make &amp;&amp;

View File

@ -166,7 +166,7 @@ using the following commands (substitute and/or add different
<acronym>CODEC</acronym> filenames, if necessary):</para> <acronym>CODEC</acronym> filenames, if necessary):</para>
<screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp; <screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &amp;&amp;
tar jxf ../&mplayer-default-codec; \ tar -jxf ../&mplayer-default-codec; \
-C /usr/lib/mplayer/codecs --strip-path=1 &amp;&amp; -C /usr/lib/mplayer/codecs --strip-path=1 &amp;&amp;
chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen> chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen>
@ -185,7 +185,7 @@ script. You'll also need to extract at least one skin. Extract the desired
skin and create the default location:</para> skin and create the default location:</para>
<screen><userinput><command>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp; <screen><userinput><command>install -v -d -m755 /usr/share/mplayer/Skin &amp;&amp;
tar jxf ../&mplayer-default-skin; \ tar -jxf ../&mplayer-default-skin; \
-C /usr/share/mplayer/Skin &amp;&amp; -C /usr/share/mplayer/Skin &amp;&amp;
chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp; chown -v -R root:root /usr/share/mplayer/Skin/Blue &amp;&amp;
chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp; chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &amp;&amp;
@ -265,7 +265,7 @@ ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \
prerendered <application>MPlayer</application> font package, extract and link prerendered <application>MPlayer</application> font package, extract and link
one of the font tarballs using the following commands:</para> one of the font tarballs using the following commands:</para>
<screen><userinput><command>tar jxf ../&mplayer-default-font;.tar.bz2 \ <screen><userinput><command>tar -jxf ../&mplayer-default-font;.tar.bz2 \
-C /usr/share/mplayer/font &amp;&amp; -C /usr/share/mplayer/font &amp;&amp;
chown -R root:root /usr/share/mplayer/font &amp;&amp; chown -R root:root /usr/share/mplayer/font &amp;&amp;
cd /usr/share/mplayer/font &amp;&amp; cd /usr/share/mplayer/font &amp;&amp;

View File

@ -86,7 +86,7 @@ under a different name such as <filename>vi</filename>.</para></note>
<para>If desired unpack the translated messages archive:</para> <para>If desired unpack the translated messages archive:</para>
<screen><userinput><command>tar zxf ../vim-&vim-version;-lang.tar.gz --strip-path=1</command></userinput></screen> <screen><userinput><command>tar -zxf ../vim-&vim-version;-lang.tar.gz --strip-path=1</command></userinput></screen>
<para>Install <application>Vim</application> by running the following <para>Install <application>Vim</application> by running the following
commands:</para> commands:</para>

View File

@ -91,16 +91,16 @@ the two required packages and the optional package, if desired.</para>
commands:</para> commands:</para>
<screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp; <screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
tar zxf tetex-src-&tex-version;.tar.gz &amp;&amp; tar -zxf tetex-src-&tex-version;.tar.gz &amp;&amp;
cd tetex-src-&tex-version; &amp;&amp; cd tetex-src-&tex-version; &amp;&amp;
gzip -dc ../tetex-texmf-&tex-version;.tar.gz \ gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xf -)</command></userinput></screen> | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
<para>If the optional <filename>texmf</filename> source code <para>If the optional <filename>texmf</filename> source code
<acronym>TAR</acronym> ball was downloaded, untar it now:</para> <acronym>TAR</acronym> ball was downloaded, untar it now:</para>
<screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \ <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
| (umask 0; cd /usr/share/texmf; tar xf -)</command></userinput></screen> | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
<para>Continue with the installation:</para> <para>Continue with the installation:</para>

View File

@ -65,49 +65,49 @@ all follow the same pattern which will soon become obvious.</para>
commands:</para> commands:</para>
<screen><userinput><command>cd src &amp;&amp; <screen><userinput><command>cd src &amp;&amp;
tar zxf libxfce4util-&xfce-version;.tar.gz &amp;&amp; tar -zxf libxfce4util-&xfce-version;.tar.gz &amp;&amp;
cd libxfce4util-&xfce-version; &amp;&amp; cd libxfce4util-&xfce-version; &amp;&amp;
./configure --prefix=/usr &amp;&amp; ./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf libxfcegui4-&xfce-version;.tar.gz &amp;&amp; tar -zxf libxfcegui4-&xfce-version;.tar.gz &amp;&amp;
cd libxfcegui4-&xfce-version; &amp;&amp; cd libxfcegui4-&xfce-version; &amp;&amp;
./configure --prefix=/usr &amp;&amp; ./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf libxfce4mcs-&xfce-version;.tar.gz &amp;&amp; tar -zxf libxfce4mcs-&xfce-version;.tar.gz &amp;&amp;
cd libxfce4mcs-&xfce-version; &amp;&amp; cd libxfce4mcs-&xfce-version; &amp;&amp;
./configure --prefix=/usr &amp;&amp; ./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf xfce-mcs-manager-&xfce-version;.tar.gz &amp;&amp; tar -zxf xfce-mcs-manager-&xfce-version;.tar.gz &amp;&amp;
cd xfce-mcs-manager-&xfce-version; &amp;&amp; cd xfce-mcs-manager-&xfce-version; &amp;&amp;
./configure --prefix=/usr &amp;&amp; ./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf xfwm4-&xfce-version;.tar.gz &amp;&amp; tar -zxf xfwm4-&xfce-version;.tar.gz &amp;&amp;
cd xfwm4-&xfce-version; &amp;&amp; cd xfwm4-&xfce-version; &amp;&amp;
./configure --prefix=/usr &amp;&amp; ./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf xfdesktop-&xfce-version;.tar.gz &amp;&amp; tar -zxf xfdesktop-&xfce-version;.tar.gz &amp;&amp;
cd xfdesktop-&xfce-version; &amp;&amp; cd xfdesktop-&xfce-version; &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp; ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf xfce4-panel-&xfce-version;.tar.gz &amp;&amp; tar -zxf xfce4-panel-&xfce-version;.tar.gz &amp;&amp;
cd xfce4-panel-&xfce-version; &amp;&amp; cd xfce4-panel-&xfce-version; &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp; ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install &amp;&amp; make install &amp;&amp;
cd .. &amp;&amp; cd .. &amp;&amp;
tar zxf xfce-utils-&xfce-version;.tar.gz &amp;&amp; tar -zxf xfce-utils-&xfce-version;.tar.gz &amp;&amp;
cd xfce-utils-&xfce-version; &amp;&amp; cd xfce-utils-&xfce-version; &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp; ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp; make &amp;&amp;

View File

@ -128,12 +128,12 @@ and extract the source with the following commands:</para>
<screen><userinput><command>mkdir OOo-build &amp;&amp; <screen><userinput><command>mkdir OOo-build &amp;&amp;
cd OOo-build &amp;&amp; cd OOo-build &amp;&amp;
tar zxf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen> tar -zxf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen>
<para>Optionally, untar and move the gpc files, and apply the downloaded <para>Optionally, untar and move the gpc files, and apply the downloaded
patches:</para> patches:</para>
<screen><userinput><command>tar zxf ../gpc231.tar.Z &amp;&amp; <screen><userinput><command>tar -zxf ../gpc231.tar.Z &amp;&amp;
mv gpc231/* external/gpc &amp;&amp; mv gpc231/* external/gpc &amp;&amp;
rmdir gpc231 &amp;&amp; rmdir gpc231 &amp;&amp;
for patch in ../openoffice-&openoffice-version;-*.patch for patch in ../openoffice-&openoffice-version;-*.patch
@ -196,7 +196,7 @@ files, you will need to untar them to the appropriate directory as shown
below and then recreate the installation set:</para> below and then recreate the installation set:</para>
<screen><userinput><command>for i in ../helpcontent_*_unix.tgz <screen><userinput><command>for i in ../helpcontent_*_unix.tgz
do tar -C solver/645/unxlngi4.pro/pck zxf $i do tar -C solver/645/unxlngi4.pro/pck -zxf $i
done &amp;&amp; done &amp;&amp;
rm -rf instsetoo/unxlngi4.pro &amp;&amp; rm -rf instsetoo/unxlngi4.pro &amp;&amp;
bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen> bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>