- Timestamp:
- 11/29/2011 03:53:39 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- cda0a69
- Parents:
- dc0d766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/typesetting/texlive.xml
rdc0d766 rd40e1a4 6 6 7 7 <!ENTITY texlive-source-download-http " "> 8 <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/201 0/texlive-&texlive-version;-source.tar.xz">9 <!ENTITY texlive-source-md5sum " 156fa34c56acb901fdc687b8d9860f1f">10 <!ENTITY texlive-source-size " 32MB">8 <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/2011/texlive-&texlive-version;-source.tar.xz"> 9 <!ENTITY texlive-source-md5sum "968d238949e8a34a1fd74c374ddfe6f1"> 10 <!ENTITY texlive-source-size "126 MB"> 11 11 12 12 <!ENTITY texlive-texmf-download-http " "> 13 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/201 0/texlive-&texlive-version;-texmf.tar.xz">14 <!ENTITY texlive-texmf-md5sum " 12dec3a323c4eb75b98a3160c62dc865">15 <!ENTITY texlive-texmf-size "1. 1GB">13 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/2011/texlive-&texlive-version;-texmf.tar.xz"> 14 <!ENTITY texlive-texmf-md5sum "ed7b558be35adf00a6c2e69609cd679a"> 15 <!ENTITY texlive-texmf-size "1.2 GB"> 16 16 17 17 <!ENTITY texlive-buildsize "~5 GB"> … … 42 42 Group</ulink>, although <application>teTeX</application> has been 43 43 unmaintained for several years now.</para> 44 45 <para>The <command>texi2html</command> Perl script previously shipped with46 the <application>teTeX</application> package is no longer shipped. You can47 use the <command>makeinfo</command> program as a replacement, or install48 the stand-alone49 <ulink url="http://www.nongnu.org/texi2html/">Texi2HTML</ulink>50 package.</para>51 44 52 45 <bridgehead renderas="sect3">Package Information</bridgehead> … … 95 88 <xref linkend="poppler"/>, 96 89 <xref linkend="freetype2"/>, 90 <xref linkend="fontconfig"/>, 97 91 <xref linkend="libpng"/>, 98 92 <xref linkend="x-window-system"/>, … … 116 110 <sect2 role="installation"> 117 111 <title>Installation of TeX Live</title> 118 112 <!-- 119 113 <para>Before building <application>TeX Live</application>, the macros and 120 114 fonts package (<filename>texmf</filename> tarball) must be installed and … … 123 117 <systemitem class="username">root</systemitem> user:</para> 124 118 125 <screen role="root"><userinput>tar xf ../texlive-&texlive-version;-texmf.tar.xz \ 126 -C /usr/share --strip-components=1 && 119 <screen role="root"><userinput>tar -xf ../texlive-&texlive-version;-texmf.tar.xz -C /usr/share - -strip-components=1 && 127 120 128 121 ln -v -s share/texmf /usr && 129 122 ln -v -s share/texmf-dist /usr</userinput></screen> 130 123 --> 131 124 <para>Install <application>TeX Live</application> by running the following 132 125 commands:</para> 133 126 134 <screen><userinput>sed -i -e 's|PARENT/\.\./texmf-local|PARENT/texmf-local|' \ 135 -e 's|\$TEXMFVAR/fonts|/var/lib/livetex/fonts|' \ 136 texk/kpathsea/texmf.cnf && 137 138 ./configure --prefix=/usr \ 127 <note> 128 <para>If you do not have Xorg installed add <userinput>--without-x</userinput> 129 to the configure command.</para> 130 131 <para>If you do not have fontconfig installed, add 132 <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para> 133 </note> 134 135 <screen><userinput>./configure --prefix=/usr \ 139 136 --disable-native-texlive-build \ 140 137 --enable-shared \ … … 142 139 --enable-mktextex-default \ 143 140 --with-banner-add=" - BLFS" && 144 145 141 make</userinput></screen> 146 142 147 143 <para>To test the results, issue: <command>make check</command>.</para> 148 144 149 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 150 151 <screen role="root"><userinput>make install && 152 153 rm -v /usr/texmf{,-dist} && 154 install -v -m1777 -d /var/lib/livetex/fonts && 155 install -v -m755 -d /usr/share/texmf-{config,var,local} && 156 install -v -m755 -d /usr/share/doc/texlive-&texlive-version; && 157 ln -s -v ../../texmf/doc \ 158 /usr/share/doc/texlive-&texlive-version;/texmf && 159 ln -s -v ../../texmf-dist/doc \ 160 /usr/share/doc/texlive-&texlive-version;/texmf-dist && 161 162 for FN in `find /usr/bin -type l`; do 145 <para>The <userinput>make install</userinput> instructions does not 146 honor the traditional installation directory options of 147 <command>configure</command>. It also can overwrite /usr/bin/man. To 148 overcome this problem, install the program to a temporary location and do some 149 clean up:</para> 150 151 <screen><userinput> 152 make DESTDIR=$PWD/livetex-tmp install && 153 rm -v $PWD/livetex-tmp/usr/bin/man && 154 for FN in $PWD/livetex-tmp/usr/bin `find -type l`; do 163 155 if [ `readlink $FN | grep "\.\./texmf"` ]; then 164 156 ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN … … 167 159 unset FN</userinput></screen> 168 160 161 <para>Now, as the <systemitem class="username">root</systemitem> user, 162 put the files in their permanent location:</para> 163 164 <screen><userinput> 165 cp -dRv livetex-tmp//usr/include/* /usr/include && 166 cp -dRv livetex-tmp/usr/lib/* /usr/lib && 167 cp -dRv livetex-tmp/usr/bin/* /usr/bin && 168 cp -dRv livetex-tmp/usr/doc/man/* /usr/share/man && 169 170 tar -xf ../texlive-20110705-texmf.tar.xz -C /usr/share \ 171 --strip-components=1 && 172 173 cp -dRv livetex-tmp/usr/texmf /usr/share/texmf && 174 cp -dRv livetex-tmp/usr/texmf-dist /usr/share/texmf-dist && 175 176 for INFO in livetex-tmp/usr/texmf/doc/info/*.info; do 177 install -v -m0644 $INFO /usr/share/info 178 intall-info --info-dir=/usr/share/info $INFO 179 done && 180 unset INFO && 181 182 DOCDIR="/usr/share/doc/texlive-&texlive-version;" && 183 install -v -m755 -d $DOCDIR && 184 185 for DOC in `find -name doc`; do 186 DIR=`echo $DOC | cut -d/ -f2-` 187 install -v -m755 -d $DOCDIR/$DIR 188 cp -dRv $DOC/* $DOCDIR/$DIR 189 done && 190 unset DOC DIR && 191 192 install -v -m1777 -d /var/lib/livetex/fonts && 193 install -v -m755 -d /usr/share/texmf-{config,var,local} && 194 195 ln -s -v ../../texmf/doc \ 196 /usr/share/doc/texlive-&texlive-version;/texmf && 197 198 ln -s -v ../../texmf-dist/doc \ 199 /usr/share/doc/texlive-&texlive-version;/texmf-dist</userinput></screen> 169 200 </sect2> 170 201 171 202 <sect2 role="commands"> 172 203 <title>Command Explanations</title> 173 174 <para><command>ln -v -s share/texmf /usr</command> &175 <command>ln -v -s share/texmf-dist /usr</command> &176 <command>rm -v /usr/texmf{,-dist}</command>: These commands are used to177 create and then remove temporary symbolic links so that files are not178 installed in179 <filename class="directory">/usr/texmf{,-dist}</filename></para>180 204 181 205 <para><command>sed -i -e '...' -e '...' texk/kpathsea/texmf.cnf</command>:
Note:
See TracChangeset
for help on using the changeset viewer.