Changeset ec44474


Ignore:
Timestamp:
02/14/2014 02:11:34 AM (10 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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:
c904794a
Parents:
6962da4
Message:

Separate the TeX Live binary installer, and the details of setting up the PATHs, to its own page.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r6962da4 rec44474  
    882882<!-- Chapter 47 -->
    883883<!ENTITY texlive-version              "20130530">
    884 
     884<!-- the year is used when setting up PATHs in the tl-installer
     885 page, as well as to reference the directory in texlive -->
     886<!ENTITY texlive-year                 "2013">
     887
  • introduction/welcome/changelog.xml

    r6962da4 rec44474  
    4949      <itemizedlist>
    5050        <listitem>
     51          <para>[ken] - move the TeX Live binary installer, together with its
     52          runtime dependencies and details of setting up PATHs, to a separate
     53          page.</para>
     54        </listitem>
     55        <listitem>
    5156          <para>[fernando] - Update to ImageMagick-6.8.8-5. Fixes
    5257          <ulink url="&blfs-ticket-root;4683">#4683</ulink>.</para>
  • pst/typesetting/texlive.xml

    r6962da4 rec44474  
    55  %general-entities;
    66
    7   <!ENTITY texlive-year                "2013">
    8   <!ENTITY texlive-installer           "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
    9 
    107  <!ENTITY texlive-source-download-http " ">
    118  <!ENTITY texlive-source-download-ftp  "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
     
    3229
    3330  <sect2 role="package">
    34     <title>Introduction to TeX Live</title>
    35 
    36     <para>The <application>TeX Live</application> package is a comprehensive
    37     TeX document production system.  It includes TEX, LaTeX2e, ConTEXt,
    38     Metafont, MetaPost, BibTeX and many other programs; an extensive collection
    39     of macros, fonts and documentation; and support for typesetting in many
    40     different scripts from around the world.</para>
     31    <title>Introduction to TeX Live from source</title>
     32
     33    <para>A binary version of the <application>TeX Live</application> package
     34    is installed at <xref linkend="tl-installer"/>. Here, we use that to rebuild
     35    the compiled programs from source.</para>
    4136
    4237    &lfs74_checked;
     
    6459    </itemizedlist>
    6560
    66     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    67     <itemizedlist spacing="compact">
    68       <listitem>
    69         <para>The TeX Live installer: <ulink url="&texlive-installer;"/></para>
    70       </listitem>
    71     </itemizedlist>
    72 
    7361    <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
    7462
    75     <bridgehead renderas="sect4">Recommended (to build from source)</bridgehead>
     63    <bridgehead renderas="sect4">Recommended</bridgehead>
    7664    <para role="recommended">
     65      <xref linkend="freeglut"/> (for asy),
     66      <xref linkend="gs"/>,
     67      <xref linkend="x-window-system"/>
     68    </para>
     69    <para>
    7770      The source ships with its own versions of <emphasis>many</emphasis>
    7871      libraries, and will use them unless it is forced to use the system
    79       versions.
    80       <xref linkend="gs"/>,
     72      versions.  The following are recommended so that the system version
     73      will be used:
    8174      <xref linkend="icu"/>,
    8275      <xref linkend="freetype2"/>,
     
    8578      <xref linkend="harfbuzz"/> (linked to graphite2),
    8679      <xref linkend="libpng"/>,
    87       <xref linkend="poppler"/>,
    88       <xref linkend="x-window-system"/>
    89     </para>
    90 
    91 
    92     <bridgehead renderas="sect4">Optional (to build from source)</bridgehead>
     80      <xref linkend="poppler"/>
     81    </para>
     82
     83    <bridgehead renderas="sect4">Optional</bridgehead>
    9384    <para role="optional">
    94       The source ships with its own versions of these libraries, which are either
     85      <ulink url="http://www.fftw.org/">FFTW</ulink> can be used by asy.
     86    </para>
     87    <para>
     88      The source ships with its own versions of several libraries which are either
    9589      not under active development, or only used for limited functionality.  If
    9690      you install these, as with some other optional dependencies in this book you
     
    10397    </para>
    10498
    105     <bridgehead renderas="sect4">Runtime dependencies if building from source</bridgehead>
     99    <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
    106100    <para role="recommended">
    107       not yet adequate to rebuild this),
    108       <xref linkend="tk"/> for ep2pdftk.
     101      Some (re-installed) scripts will use
     102      <xref linkend="ruby"/> and <xref linkend="tk"/> is used by epspdftk.
    109103    </para>
    110104
     
    117111    <title>Installation of TeX Live</title>
    118112
    119     <para>The <application>TeX Live</application> set of programs with its
    120     supporting documents, fonts, and utilities is very large.  The upstream
    121     maintainers recommend placing all files in a single directory structure.
    122     BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
    123 
    124     <para>First, unpack the installer and change into the installer's
    125     directory, <filename class='directory'>install-tl-&lt;CCYYMMDD&gt;</filename>.
    126     This directory name changes frequently when the installer is updated,
    127     so replace &lt;CCYYMMDD&gt; by the correct directory name.</para>
    128 
    129 <screen><userinput>tar -xf install-tl-unx.tar.gz &amp;&amp;
    130 cd install-tl-&lt;CCYYMMDD&gt; </userinput></screen>
    131 
    132     <note><para>The distribution binaries installed below use static linking
    133     for internal <application>TeX Live</application> libraries.  Additional
    134     libraries as specified in the dependencies section do not need to be
    135     present during the install, but the programs that need them will not run
    136     until their specific dependencies are installed.</para></note>
    137 
    138     <para>Now, as the <systemitem class="username">root</systemitem>
    139     user:</para>
    140 
    141 <screen><userinput role="root">TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
    142 
    143     <para>This command is interactive and allows selection or modification of
    144     platform, packages, directories, and other options.  The full installation
    145     scheme will require about 3.5 gigabytes of disk space.  The time to complete
    146     the download will depend on your internet connection speed and the
    147     number of packages selected.</para>
    148 
    149     <para>After the package download is complete, the next step is to make sure
    150     that the system can properly find the files.  If you set up your login
    151     scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
    152     the needed paths by appending to the <filename>extrapaths.sh</filename> script.
    153     The programs are always installed in an &lt;ARCH&gt;-linux subdirectory.  If
    154     you are not using x86_64, <emphasis>always</emphasis> change that to your
    155     actual installation location.</para>
    156 
    157 <screen><userinput role="root">cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
    158 pathappend /usr/share/man                        MANPATH
    159 pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man  MANPATH
    160 pathappend /usr/share/info                       INFOPATH
    161 pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
    162 pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
    163 EOF</userinput></screen>
    164 
    165     <note><para>The standard MANPATH and INFOPATH path are specified above to
    166     ensure they are included.  If they are already set in the boot script
    167     procedure, the pathappend function will ensure duplicates are
    168     removed, so including them here will do no harm.</para></note>
    169 
    170     <para>The new paths can be immediately activated by running <command>source
    171     /etc/profile</command>.</para>
    172 
    173     <para>At this point the binary installation is complete.</para>
     113    <para>These instructions will overwrite the corresponding files from the
     114    binary installer.  As with the installer, change x86_64-linux to whatever
     115    matches your architecture.</para>
    174116
    175117    <para>Please note that installing from source will recompile the binary
     
    178120    versions than those from the newer installer.  It will <emphasis>not</emphasis>
    179121    recreate any of the following: the more than 200 symlinks in the
    180     &lt;ARCH&gt;-linux directory (some are alternate names, many are pointers to
     122    x86_64-linux directory (some are alternate names, many are pointers to
    181123    the scripts), html files, PDF files, licenses, README files, two config
    182124    files (<filename>texmf.cnf</filename> and <filename>texmfcnf.lua</filename>),
     
    190132    <application>asy</application> and <application>xindy</application> which were
    191133    installed by the binary installer.</para> <!-- FIXME -->
    192 
    193     <para>  If building from
    194     source is desired, continue as a normal user.  Extract the source package as
    195     usual.  Again, change x86_64-linux to whatever matches your architecture.
    196     The developers do not recommend building in the source directory, so enter
    197     the following commands:</para>
    198134
    199135<screen><userinput>mkdir texlive-build &amp;&amp;
  • pst/typesetting/typesetting.xml

    r6962da4 rec44474  
    1919  typesetting.</para>
    2020
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tl-installer.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive.xml"/>
    2223
Note: See TracChangeset for help on using the changeset viewer.