Ignore:
Timestamp:
01/30/2005 05:59:50 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c2688a0
Parents:
370f305
Message:

Separated root installation commands in packages already indexed (first pass)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3363 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/tex.xml

    r370f305 rd260aaf4  
    44  %general-entities;
    55
     6  <!ENTITY tex-download-http     " ">
    67  <!ENTITY tex-download-ftp      "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
    78  <!ENTITY texmf-download-ftp    "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
     
    3536<sect3><title>Package information</title>
    3637<itemizedlist spacing='compact'>
    37 <listitem><para>Required Download (FTP): <ulink
    38 url="&tex-download-ftp;"/></para></listitem>
    39 <listitem><para>Required Download (FTP): <ulink
    40 url="&texmf-download-ftp;"/></para></listitem>
    41 <listitem><para>Optional Download (FTP): <ulink
    42 url="&texmfsrc-download-ftp;"/></para></listitem>
     38<listitem><para>Download (HTTP):
     39<ulink url="&tex-download-http;"/></para></listitem>
     40<listitem><para>Download (FTP):
     41<ulink url="&tex-download-ftp;"/></para></listitem>
    4342<listitem><para>Download size:
    4443&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
    45 <listitem><para>Estimated disk space required:
     44<listitem><para>Estimated disk space required: 
    4645&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
    4746</listitem>
    48 <listitem><para>Estimated build time:
     47<listitem><para>Estimated build time: 
    4948&tex-time;</para></listitem></itemizedlist>
    5049</sect3>
     
    5251<sect3><title>Additional Downloads</title>
    5352<itemizedlist spacing='compact'>
    54 <listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
    55 url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
    56 </listitem>
     53<listitem><para>Required macros and fonts:
     54<ulink url="&texmf-download-ftp;"/></para></listitem>
     55<listitem><para>Optional <filename>texmf</filename> sources:
     56<ulink url="&texmfsrc-download-ftp;"/></para></listitem>
     57<listitem><para>Required Patch: <ulink
     58url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
    5759<listitem><para>Recommended Patch: <ulink
    5860url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
     
    8284<title>Installation of <application>TeX</application></title>
    8385
     86<!--
    8487<para><application>TeX</application> is installed from the source directory
    8588(usually <filename class="directory">/usr/src</filename>) and untarring
     
    8790have already untarred the package. The source directory should contain
    8891the two required packages and the optional package, if desired.</para>
     92-->
     93
     94<para>Before building <application>TeX</application>, the macros and fonts
     95package (<filename>texmf</filename> tarball) must be installed. Install the
     96macros and fonts using the following commands as the root user:</para>
     97
     98<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &amp;&amp;
     99gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
     100    | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
     101
     102<para>If the optional <filename>texmf</filename> source code
     103<acronym>TAR</acronym> ball was downloaded, untar it now as the root
     104user:</para>
     105
     106<screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
     107    | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    89108
    90109<para>Install <application>TeX</application> by running the following
    91110commands:</para>
    92 
    93 <screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
    94 tar -zxf tetex-src-&tex-version;.tar.gz &amp;&amp;
    95 cd tetex-src-&tex-version; &amp;&amp;
    96 gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
    97       | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    98 
    99 <para>If the optional <filename>texmf</filename> source code
    100 <acronym>TAR</acronym> ball was downloaded, untar it now:</para>
    101 
    102 <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
    103       | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    104 
    105 <para>Continue with the installation:</para>
    106111
    107112<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
    108113patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
    109114./configure --with-x=no --prefix=/usr \
    110     --without-texinfo   --with-system-ncurses --with-system-zlib \
     115    --without-texinfo --with-system-ncurses --with-system-zlib \
    111116    --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
    112 make world &amp;&amp;
     117make all</command></userinput></screen>
     118
     119<para>Now, as the root user:</para>
     120
     121<screen><userinput role='root'><command>make install &amp;&amp;
    113122texconfig dvips paper letter &amp;&amp;
    114123texconfig font rw</command></userinput></screen>
     
    121130<sect2>
    122131<title>Installation command explanations</title>
    123 
    124 <para><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz | ...</command>:
    125 Untar the <application>TeX</application> fonts and macro libraries.</para>
    126132
    127133<para><option>--with-x=no</option>: This switch will avoid any
     
    138144<para><parameter>--without-texinfo</parameter>: A default
    139145<acronym>LFS</acronym> installation already has the
    140 <application>texinfo</application> package installed; this switch will avoid
    141 overwriting it with the included <application>texinfo</application>
     146<application>Texinfo</application> package installed; this switch will avoid
     147overwriting it with the included <application>Texinfo</application>
    142148package.</para>
    143149
Note: See TracChangeset for help on using the changeset viewer.