mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
untar Firefox into a versioned directory
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9043 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
978865f23e
commit
1f23aa4ffe
@ -178,11 +178,12 @@ EOF</userinput></screen>
|
||||
<systemitem class="username">root</systemitem> user, install the
|
||||
package:</para>
|
||||
|
||||
<screen role="root"><userinput>tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib &&
|
||||
ln -sfv ../lib/firefox/firefox /usr/bin/firefox &&
|
||||
<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version; &&
|
||||
tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &&
|
||||
ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin/firefox &&
|
||||
mkdir -p /usr/lib/mozilla/plugins &&
|
||||
ln -sv ../mozilla/plugins /usr/lib/firefox &&
|
||||
chown -R -v root:root /usr/lib/firefox</userinput></screen>
|
||||
ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &&
|
||||
chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
|
||||
<para>If you have installed <application>Firefox</application> linked
|
||||
against an already installed <application>Xulrunner</application>, as the
|
||||
@ -214,10 +215,12 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
this creates a <application>Firefox</application> tarball.</para>
|
||||
|
||||
<para><command>tar -xfv firefox-build-dir/dist ...</command>: This untars
|
||||
<application>Firefox</application> in /usr/lib. Untaring it (instead of
|
||||
running make install) prevents it installing
|
||||
/usr/lib/firefox-devel-&firefox-version; which contains about 430 MB of
|
||||
files. If you need any of those files, they're in
|
||||
<application>Firefox</application> in /usr/lib. The
|
||||
<option>--strip-components=1</option> option removes the leading
|
||||
'firefox' directory from the filenames, allowing us to untar it
|
||||
into a versioned directory. Untaring it (instead of running make install)
|
||||
prevents it installing /usr/lib/firefox-devel-&firefox-version; which
|
||||
contains about 430 MB of files. If you need any of those files, they're in
|
||||
<xref linkend="xulrunner"/></para>
|
||||
|
||||
<para><command>make -C firefox-build-dir install</command>: This runs
|
||||
@ -247,10 +250,8 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
<seg>firefox</seg>
|
||||
<seg>Numerous libraries, browser components, plugins, extensions, and
|
||||
helper modules installed in <filename
|
||||
class='directory'>/usr/lib/firefox</filename> or <filename
|
||||
class='directory'>/usr/lib/firefox-&firefox-version;</filename>
|
||||
(depending whether you untared it or ran make install)</seg>
|
||||
<seg>/usr/lib/firefox</seg>
|
||||
class='directory'>/usr/lib/firefox-&firefox-version;</filename>.</seg>
|
||||
<seg>/usr/lib/firefox-&firefox-version;</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user