Installing TE X Live 2008, 2009 or 2010 from DVD: Personal Notes By kalwisti Updated 28 Nov. 2010
Contents 1 Pre-Installation 1.1 1.1 Lear Learn n Your Opti Optica call Dri Drive’s ve’s Desi Design gna atio tion . . . . . . . . . . . . . 1.2 1.2 Unmo Unmoun untt the the DVD and and Crea Create te a New New Moun Mountt Point oint . . . . . . .
2 2 3
2 Installation 2.1 Using the Installer’s Text Mode . . . . . 2.2 Alternate Alternate Method: Method: Usin Using g the the GUI GUI Versi ersion on of the the TL Inst Instal alle lerr 2.3 Duration of Installation . . . . . . . . . 2.3.1 TL 2009 . . . . . . . . . . . . . . 2.3.2 TL 2010 . . . . . . . . . . . . . .
. . . . . . . . . . . .
3 4
. . . . . . . . . . . .
4 5 6 6
3 Finishing the Installation
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
6
4 Post-Installation Configuration 8 4.1 4.1 Sett Settin ing g the the PATH Variable . . . . . . . . . . . . . . . . . . . . . 8 4.1.1 4.1. 1 A Few Few More More Words about about the PATH . . . . . . . . . . . 9 4.2 Font Configuration for XeTeX . . . . . . . . . . . . . . . . . . 10 5 Testing the Installation 12 5.1 5.1 Envi nvironm ronme ent Vari ariable abless in Gen Genera eral . . . . . . . . . . . . . . . . 12 6 Mor More on bash
12
1
Installing T X Live from DVD: Notes E
List of Figures 1
The TL Installer’s GUI mode. . . . . . . . . . . . . . . . . . . .
5
Abstract These are notes I made during my attempt(s) to install TE X Live (TL) from a DVD which I burned, using a TL .iso file downloaded from a CTAN CTAN mirror on the Internet. Internet. I installed TL on three different different Linux systems: •
PCLinuxOS 2010 Phoenix Edition (Xfce 4.6.1 desktop)
•
CentOS 5.5 (GNOME 2.16.0 desktop)
•
Fedora 14 Xfce Spin (Xfce 4.6.2)
Although gh there there may be a few errors errors or inaccu inaccurac racies ies Disclaimer: Disclaimer: Althou here, this procedure worked for me and it should be almost identical on other Linux distributions, as TL’s installer takes a distro-neutral, “plain vanilla” approach. The revised edition of this document has additional tips which I received from helpful members of the L A TE X Community Forum.1 The instructions are not 100% complete, so I recommend that you read the TL documentation available on TUG’s website in conjunction with this document.
1
Pre-I Pre-Ins nsta tall llati ation on
Clean Clean up any previous previous TeX TeX installations installations by completel completely y removing removing them. By default, this would be in these two directories: rm -rf /usr/local/texl /usr/local/texlive/2008 ive/2008 rm -rf ~/.texl ~/.texlive2 ive2008 008
If you try to run the installation installation script script from the DVD as-is, you will get a 2 “Permission denied” error message. By default, many distros mount DVDs with the noexec option, which prohibits executing binaries from the DVD. So the first step is to mount the DVD without the noexec option, i.e., with exec option. an -o exec Comment: You will notice notice that almost all the installati installation on steps are done via the CLI (Command Line Interface) rather than a GUI (Graphical User 1 2
http://www.latex-community.org/forum/index.php Permission Permission denied denied at tlpkg/TeXL tlpkg/TeXLive/T ive/TLUtil LUtils.pm s.pm line 1045 .
2
Installing T X Live from DVD: Notes E
Interf Interface ace). ). Don’t Don’t worry . . . I have have included included the necess necessary ary comman commands ds and if you type them carefully carefully,, you will not harm your system. system. In the case of the TL DVD, the CLI is faster and it allows the installer to be distro-neutral. Whereas in Distro X an operation may appear on a particular menu with a particular interface, while in Distro Y the same operation appears on a different menu, the CLI commands work identically in both distros.
1.1
Learn Your Optical Optical Drive’s Drive’s Designation Designation
Before becoming root (/) user and unmounting the DVD, type the mount command from a Terminal Terminal / Konsole to see the the DVD’s name and your optical drive’s designation. The example below is from my CentOS 5.5 setup: [david@dhcppc2 [david@dhcppc2 ~]$ mount /dev /dev/sd /sda8 a8 on / type type ext3 ext3 (rw) (rw) [ . . .] /dev /dev/sd /sda9 a9 on /home /home type type ext3 ext3 (rw) (rw) [ . . .] /dev/hda /dev/hda on /media/TeXLive2 /media/TeXLive2009 009 type iso9660 (ro,noexec,nos (ro,noexec,nosuid,node uid,nodev,uid=50 v,uid=500) 0)
Notice that in the final line, the optical drive is designated as /dev/hda. (PCLinuxOS and Fedora, on the other hand, refer to this same Samsung CD/DVD drive as /dev/sr0).
1.2 Unmoun Unmountt the DVD DVD and Crea Create te a New Moun Mountt Point Point Now you can follow these steps: •
•
Open up a Terminal erminal / Konsole Konsole within within your regular regular user account, issue the command su and type root’s password to acquire root user privileges. Unmount the TE X Live (TL) DVD: # umount /media/TeXLive /media/TeXLive2009 2009 N.B.: The command is umount (‘unmount’ without the first letter “n”). That pound sign (#) as the command prompt is your verification that you are logged in as the root user.
•
Create a new mount point for the DVD: # mkdir mkdir /media/ /media/TL09 TL09
•
Type: # mount mount -o exec exec /dev/ /dev/hda hda /medi /media/T a/TL0 L09 9 A gloss of this command command is: 3
Installing T X Live from DVD: Notes E mount mount [option [option flag] flag]3 [permit [permit executi execution on of binaries binaries] ]4 [source]5 [target directory] directory]6
These preliminary steps will allow the TL install script to run.
2
Inst Instal alla lati tion on
In general, we will use the Quick Install instructions from TUG’s website as a guideline: http://www.tug.org/texlive/quickinstall.html “TE X Live – Quick Install.”
The full-length guide (for TE X Live 2010) can be read here: http://www.tug.org/texlive/doc/texlive-en/texlive-en.html Berry, Karl, ed. “The TE X Live Guide: TE X Live 2010.” July 2010.
All commands below were issued by / (root) rather than a normal user. Follow these steps: •
# cd /media/ /media/TL09 TL09
•
Run the ls (list) command to show you the TL DVD’s contents: [root@d [root@dhcpp hcppc2 c2 TL09]# TL09]# ls a u t o r u n .i n f inst all-t l.ba t README.usergroups tl t lpkg bin LICENSE.CTAN release-texlive.txt tl-portable doc.html L IC E N S E . T L rr_moved t l - p o r ta b l e . b a t index.html READM E s o ur ce install-tl readm e-ht ml.di r te xmf install install-tl-tl-adv advance anced.ba d.bat t readmereadme-txt. txt.dir dir texmf-di texmf-dist st
2.1 Using Using the the Instal Installer ler’s ’s Text Text Mode Mode If you want to use the TL Installer’s text mode, follow these instructions. tions. If you prefer prefer using a GUI, please please note that the installer installer also has a GUI mode, which is discussed in Subsection 2.2 below. 3
-o exec 5 The optical drive. 6 The mount point we just created. 4
4
Installing T X Live from DVD: Notes E
•
Now you are ready to run the installer script ( install-tl). Type: ./install-tl
(Do not forget the initial period (.) before the forward slash). •
•
•
From the text menu, select the o command to change the default paper size (if you are a North American who uses letter-size paper rather than A4). If you wish to bypass the need for manually changing the PATH, as discussed in Section 4.1, you have the option here of selecting Create symlink symlinks s in system system director directories ies. I have have never never tried tried this this opti option on A T X Community Forum noted that myself, but two members of the L A E it works and that it will auto-configure your PATH.7 Type the letter i (for i(nstall)) to begin the installation.
2.2 Alterna Alternate te Method Method:: Using the GUI Version of the TL Installer The TL Installer also has a GUI mode, shown in Figure 1, which you may find friendlier to use. However, before you can use the GUI, you must install the perl-TK package from your distro’s repository. 8 You can invoke the installer’s GUI mode with the following command: $ perl perl insta installll-tl tl -gui -gui
2.3 Duratio Duration n of Install Installati ation on There is a significant difference in installation time between TL 2009 and TL 2010. 2.3. 2.3.1 1
TL 2009 2009
If you are installing TL 2009, please wait patiently. The installation process will take ca. 55–60 minutes if you have a relatively fast CPU and optical drive. 7
I would like to thank members frabjous and sommerfee for clarifying this. This This is the packag package e name name used used in Fedora; edora; your your distro distro may have have given given it a slight slightly ly diffe differen rentt name. 8
5
Installing T X Live from DVD: Notes E
Figure 1: The TL Installer’ Installer’ss GUI mode. mode.
6
Installing T X Live from DVD: Notes E
2.3. 2.3.2 2
TL 2010 2010
Changes have been made to the TL 2010 DVD. It is no longer “live,” i.e., you cannot run it directly from DVD any more. It was too large this year to fit on a single DVD, so the TL developers switched to compressed packaging (the same that is used for over-the-ne over-the-network twork installatio installations). ns). This allows for a much faster installation, because there is much less I/O on a DVD drive. 9 On my hardware, the TL 2010 installation process took approximately 10 minutes. Whichever method you choose, the script will install packages in alphabetical order, beginning with 12many and ANUfinalexam, and ending with zwgetfdate and zwpagelayout. As the instal installat lation ion progre progresse sses, s, you will will see output output like like this this scroll scrolling ing down down your Terminal screen: Installing Installing [0002/1946, [0002/1946, time/total: time/total: 02:33:02/02:33: 02:33:02/02:33:04]: 04]: ANUfinalexam ANUfinalexam [9k]
3
Finish Finishing ing the Install Installatio ation n
As the install script finishes, you will see several screens of Terminal output: Time Time used used for installing installing the package packages: s: 51:14 51:14 running mktexlsr /usr/local/texl /usr/local/texlive/2009 ive/2009/texmf/texmf-dist dist /usr/local/texl /usr/local/texlive/2009 ive/2009/texmf /texmf mktexlsr: mktexlsr: Updating Updating /usr/local/texli /usr/local/texlive/2009 ve/2009/texmf-d /texmf-dist/lsist/ls-R... R... mktexlsr: mktexlsr: Updating Updating /usr/local/texli /usr/local/texlive/2009 ve/2009/texmf/l /texmf/ls-R... s-R... mktexlsr: mktexlsr: Done. writing fmtutil.cnf fmtutil.cnf data to /usr/local/texl /usr/local/texlive/2009 ive/2009/texmf/texmf-var/web2 var/web2c/fmtuti c/fmtutil.cnf l.cnf writing updmap.cfg updmap.cfg to /usr/local/texl /usr/local/texlive/2009 ive/2009/texmf/texmf-config/w config/web2c/up eb2c/updmap.cfg dmap.cfg writing language.dat language.dat data to /usr/local/tex /usr/local/texlive/200 live/2009/texmf 9/texmf-var/tex -var/tex/generic /generic/config /config/la /la writing language.def language.def data to /usr/local/tex /usr/local/texlive/200 live/2009/texmf 9/texmf-var/tex -var/tex/generic /generic/config /config/la /la running mktexlsr /usr/local/texl /usr/local/texlive/2009 ive/2009/texmf/texmf-var var mktexlsr: mktexlsr: Updating Updating /usr/local/texli /usr/local/texlive/2009 ve/2009/texmf-v /texmf-var/ls-R ar/ls-R... ... mktexlsr: mktexlsr: Done. running updmap-sys... updmap-sys... done re-running re-running mktexlsr mktexlsr /usr/local/texl /usr/local/texlive/200 ive/2009/texmf9/texmf-var var mktexlsr: mktexlsr: Updating Updating /usr/local/texli /usr/local/texlive/2009 ve/2009/texmf-v /texmf-var/ls-R ar/ls-R... ... 9
Thanks to Tomek, of the L A TE X Community Forum, Forum, for this information. The discussion thread can be found at http://tinyurl.com/2bngwkr
7
Installing T X Live from DVD: Notes E
mktexlsr: mktexlsr: Done. Sett Setting ing defau default lt paper paper size size to lette letter r /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for context to lette /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for dvipdfm to lette /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for dvipdfmx dvipdfmx to lett /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for dvips to letter. /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for pdftex to letter /usr/local/tex /usr/local/texlive/200 live/2009/bin/i3 9/bin/i386-linu 86-linux/tlmgr: x/tlmgr: setting paper size for xdvi to letter. running running mktexlsr mktexlsr ... done done running running mktexlsr mktexlsr. . Regener Regeneratin ating g all formats formats, , this may take take some some time time ...runn ...running ing fmtutilfmtutil-sys sys --all --all ... done done running running fmtutilfmtutil-sys sys --all. --all. done pre-gen pre-generat erating ing all format format files files (fmtutil (fmtutil-sy -sys s --all), --all), be patient. patient...d ..done one running package specific specific postactions postactions finishe finished d with package package specific specific postact postactions ions See /usr/local/texlive/2009/index.html for links to document documentatio ation. n. The TeX Live web site (http://t (http://tug.o ug.org/t rg/texl exlive/ ive/) ) contain contains s any updates updates and correct corrections ions. . TeX TeX Live Live is a join joint t proje project ct of the TeX user user group groups s aroun around d the the worl world; d; pleas please e consi consider der suppo support rting ing it by join joining ing the group group best best for you. you. The list list of groups groups is availabl available e on the web at http://t http://tug.o ug.org/ rg/user usergrou groups.h ps.html. tml. Add /usr/local/tex /usr/local/texlive/200 live/2009/texmf/ 9/texmf/doc/man doc/man to MANPATH. MANPATH. Add /usr/local/tex /usr/local/texlive/200 live/2009/texmf/ 9/texmf/doc/inf doc/info o to INFOPATH. INFOPATH. Most importantly, importantly, add /usr/local/texl /usr/local/texlive/2009 ive/2009/bin/i3 /bin/i386-linux 86-linux to your your PATH PATH for curre current nt and and futur future e sessi sessions ons. . Welco Welcome me to TeX TeX Live! Live! Logfile: Logfile: /usr/local/texl /usr/local/texlive/2009 ive/2009/install /install-tl.log -tl.log Unmo Unmount unt your TeX Live DVD DVD and and eject eject it from from the the optic optical al drive drive: :
You should now umount the TL DVD and eject it: # umount umount /dev/hda /dev/hda Next, remove the directory you created at the beginning of the installation process. 8
Installing T X Live from DVD: Notes E
[root@d [root@dhcpp hcppc2 c2 david]# david]# cd /media /media [root@d [root@dhcpp hcppc2 c2 media]# media]# ls TL09 [root@d [root@dhcpp hcppc2 c2 media]# media]# rmdir rmdir TL09
Do not delete the /media directory, as it contains important system files (hidden files which can be shown below using the -a option of the ls command). This directory is intended to be for removable media (such as USB sticks, CD-ROMs, floppy diskettes, etc.). [root@d [root@dhcpp hcppc2 c2 david]# david]# cd /media /media [root@d [root@dhcpp hcppc2 c2 media]# media]# ls -a . .. .hal .hal-m -mta tab b .hal .hal-m -mta tabb-lo lock ck
(The operating system made those files invisible by placing a . [period] at the beginning of their names).
4
Post-Ins ost-Instal tallati lation on Configu Configurat ration ion
4.1 4.1
Setti Setting ng the the
PATH
Variable
After the installation finishes, you must add the TE X Live binary directory to Create symlink symlinks s in system system your PATH, if you did not select the option to Create directories when you began the installation process. (See Subsection 2.1 for details). For the bash shell, the file to edit might be $HOME/.profile (or another file sourced by .profile, and the lines to add would look like this: PATH=/usr/loca PATH=/usr/local/texliv l/texlive/2008/b e/2008/bin/i386 in/i386-linux:$ -linux:$PATH; PATH; export PATH MANPATH=/usr/l MANPATH=/usr/local/tex ocal/texlive/200 live/2008/texmf 8/texmf/doc/man /doc/man:$MANPA :$MANPATH; TH; export MANPATH INFOPATH=/usr/ INFOPATH=/usr/local/te local/texlive/20 xlive/2008/texm 08/texmf/doc/in f/doc/info:$INF fo:$INFOPATH; OPATH; export INFOPATH
Note: In CentO CentOS S 5.5, 5.5, ther there e was was neit neithe herr a .profile director directory y, nor a .profile file in my /home directory. directory. (The same holds true for PCLinuxOS 2010 Phoenix Phoenix Ed. and for the Fedora Fedora 14 Xfce Spin). Spin). 10 The closest thing I found was the .bash profile file. I pasted these three lines at the very end of this file—making no other changes—and saved it. 10
/.profile file. Debian 6 (Squeeze), however, uses a ~ /.profile
9
Installing T X Live from DVD: Notes E
4.1.1 A Few Few More More Words Words about the PATH I know very little about the relationship between the bash shell profile files and the PATH PATH settings. Although Although most Linux distros use bash as the default, there is variation in how the shell profile files are set up. So you will need to see what your particular distribution does, and keep an eye on the following11 : •
•
•
•
/.bash profile profile (if it exists) as your first Add your PATH variable to ~ /.bash choice. /.bash profile profile, then /.bash login login. If you you have have no ~ /.bash then add add your your PATH to ~ /.bash
If you have neither of the above files, look for ~ /.profi /.profile le and add your PATH there. /.bashrc c if putt /.profile le Try the the same same thre three e line liness in your your ~ /.bashr puttin ing g them them in ~ /.profi does not work.
As reference material, I added Section 6 on which files run when the bash shell starts. starts. My understandin understanding g is that, that, generally generally speaking, speaking, PATH settings are added to the $HOME/.bash profile file, while user-specific aliases and functions are added to $HOME/.bashrc. Your Your mileage mileage may vary vary . . . For TL 2009, add these lines to your .bash profile: PATH=/usr/loca PATH=/usr/local/texliv l/texlive/2009/b e/2009/bin/i386 in/i386-linux:$ -linux:$PATH; PATH; export PATH MANPATH=/usr/l MANPATH=/usr/local/tex ocal/texlive/200 live/2009/texmf 9/texmf/doc/man /doc/man:$MANPA :$MANPATH; TH; export MANPATH INFOPATH=/usr/ INFOPATH=/usr/local/te local/texlive/20 xlive/2009/texm 09/texmf/doc/in f/doc/info:$INF fo:$INFOPATH; OPATH; export INFOPATH
For TL 2008, add: PATH=/usr/loca PATH=/usr/local/texliv l/texlive/2008/b e/2008/bin/i386 in/i386-linux:$ -linux:$PATH; PATH; export PATH MANPATH=/usr/l MANPATH=/usr/local/tex ocal/texlive/200 live/2008/texmf 8/texmf/doc/man /doc/man:$MANPA :$MANPATH; TH; export MANPATH INFOPATH=/usr/ INFOPATH=/usr/local/te local/texlive/20 xlive/2008/texm 08/texmf/doc/in f/doc/info:$INF fo:$INFOPATH; OPATH; export INFOPATH
For TL 2010, add: PATH=/usr/loca PATH=/usr/local/texliv l/texlive/2010/b e/2010/bin/i386 in/i386-linux:$ -linux:$PATH; PATH; export PATH MANPATH=/usr/l MANPATH=/usr/local/tex ocal/texlive/201 live/2010/texmf 0/texmf/doc/man /doc/man:$MANPA :$MANPATH; TH; export MANPATH INFOPATH=/usr/ INFOPATH=/usr/local/te local/texlive/20 xlive/2010/texm 10/texmf/doc/in f/doc/info:$INF fo:$INFOPATH; OPATH; export INFOPATH 11
Members frabjous and meho r of the L A TE X Community Forum offered me these tips.
10
Installing T X Live from DVD: Notes E
You You will will ma make ke this this chan change ge as a regu regula larr user user (sin (since ce .bash profile resides in your /home directory). Use your favorite text editor to open the file, e.g.: $ $ $ $
nano .bash_p .bash_profi rofile le gedit gedit .bash_pr .bash_profi ofile le vi .bash_p .bash_profi rofile le emacs emacs .bash_pr .bash_profi ofile le
A change like this does not take effect immediately, so log out of your account, completely reboot your system and log back in. texhash Finally, issue the command: # texhash [root@dhcppc2 [root@dhcppc2 david]# texhash texhash: texhash: Updating /usr/share/texm /usr/share/texmf/ls-R.. f/ls-R... . texhash: texhash: Updating /usr/share/texm /usr/share/texmf-config f-config/ls-R.. /ls-R... . texhash: texhash: Updating /usr/share/texm /usr/share/texmf-var/ls f-var/ls-R... -R... texhash: texhash: Updating /var/lib/texmf/ /var/lib/texmf/ls-R... ls-R... texhash: texhash: Done.
4.2
Font Font Configuratio Configuration n for for XeTeX XeTeX
When tested according to the TL Web documentation, documentation, I got an error message saying ‘‘Inv ‘‘Inval alid id fontn fontname ame ‘Latin ‘Latin Moder Modern n Roman Roman/I /ICU’ CU’ ... ’’ So I needed to configure my system so that XeTEX could find the fonts shipped with TE X Live. This is accomplished by configuring the texlive-fontconfig.conf file. In TL 2009, this file lives within the directory: /usr/local/texlive/2009/texmf-var/fonts/conf/
In TL 2008, it is located here: /usr/local/texlive/2008/texmf-var/fonts/conf/
As root user, you will be copying this file to the /etc/fonts/conf.d/ directory and simultaneously renaming the file 09-texlive.conf. [root@dhcppc2 [root@dhcppc2 david]# cd /usr/local/texl /usr/local/texlive/200 ive/2009/texmf9/texmf-var/fon var/fonts/conf/ ts/conf/ [root@d [root@dhcpp hcppc2 c2 conf]# conf]# ls conf conf texlive texlive-fon -fontcon tconfig fig.con .conf f [root@dhcppc2 [root@dhcppc2 conf]# cp texlive-fontconf texlive-fontconfig.conf ig.conf /etc/fonts/conf. /etc/fonts/conf.d/09-te d/09-texlive.co xlive.conf nf
Now you must run the fc-cache-fv command: 11
Installing T X Live from DVD: Notes E
[root@d [root@dhcpp hcppc2 c2 conf]# conf]# fc-cach fc-cache e -fv
It returns the following results: /usr/sh /usr/share/ are/fon fonts: ts: caching, caching, 0 fonts, fonts, 6 dirs /usr/sh /usr/share/ are/fon fonts/b ts/bitma itmap-fo p-fonts: nts: caching caching, , 31 fonts, fonts, 0 dirs /usr/sh /usr/share/ are/fon fonts/b ts/bitst itstream ream-ver -vera: a: caching, caching, 10 fonts, fonts, 0 dirs dirs /usr/sh /usr/share/ are/fon fonts/d ts/defau efault: lt: caching caching, , 0 fonts, fonts, 2 dirs /usr/sh /usr/share/ are/fon fonts/d ts/defau efault/T lt/Type1 ype1: : caching, caching, 35 fonts, fonts, 0 dirs [... [... output output truncat truncated ed ...] /usr/local/tex /usr/local/texlive/200 live/2009/texmf9/texmf-dist/fo dist/fonts/type nts/type1/wadal 1/wadalab/mrj: ab/mrj: caching, caching, 34 fonts, 0 dirs /var/cache/fon /var/cache/fontconfig: tconfig: cleaning cache directory directory /root/. /root/.font fontcon config: fig: not cleaning cleaning unwritab unwritable le cache cache directo directory ry fc-cache: fc-cache: succeeded succeeded
If we test the XeTeX font configuration now (from our regular user account), it should pass and produce a PDF file: [david@dhcppc2 [david@dhcppc2 ~]$ xetex opentype-info.t opentype-info.tex ex This This is XeTeX, XeTeX, Version Version 3.141592 3.1415926-2. 6-2.2-0 2-0.999 .9995.2 5.2 (TeX Live 2009) 2009) enterin entering g extended extended mode (/usr/local/texlive/2009/texmf-dist/tex/xetex/xetexfontinfo/opentype-info.tex [1] ) Output Output written written on opentype opentype-inf -info.p o.pdf df (1 page). page). Transcript Transcript written on opentype-info.l opentype-info.log. og.
According to the TL online documentation, if you do not have sufficient privileges to carry out the steps above, you can instead do the following to make the TE X Live fonts available to you as an individual XeTEX user: ~ 1. Copy the texlive-fontconfig.conf file to /.fonts.conf , where ~ is your home directory.
2. Run fc-cache fc-cache -fv. Note: The technique technique above did not work for me—XeTeX me—XeTeX continued continued to complain about “Invalid fontname”—therefore I resorted to becoming root and using the steps outlined at the beginning of Subsection 4.2.
12
Installing T X Live from DVD: Notes E
5
Testing esting the Install Installatio ation n
All the tests suggested in the TL online guide passed. Some sample tests are: $ $ $ $ $
tex --versi --version on latex latex sample2e sample2e.te .tex x xdvi sample2e.d sample2e.dvi vi (or, (or, $ evince evince sample2 sample2e.dv e.dvi) i) (or, $ acrorea acroread d sample2 sample2e.dv e.dvi) i) pdflate pdflatex x sample2 sample2e.te e.tex x xpdf sample2e.p sample2e.pdf df (or, (or, $ evince evince sample2 sample2e.pd e.pdf) f) (or, $ okular okular sample2e sample2e.pdf .pdf) )
5.1
Environment Environment Variables ariables in General General
Note: This is for reference only. My TL 2009 stuff is located at /usr/local/texlive /usr/local/texlive/2009 /usr/local/texlive/2009/texmf
Compare with the TL 2007 installation in PCLinuxOS 2010 KDE (which was installed from the official repositories, not from a TL DVD): Most things are located at /usr/share/texmf /usr/share/texmf-texlive
6
More on bash
The brief information informati on below was copied copi ed from Agust´ın ın Velasco’s “How “H ow Linux Works” (ver. 0.6.0, 1 June 2000), hosted by the Computer Documentation Project12 : Files run when bash starts When bash starts it runs script files in the following order if the files exist and if the shell is a login shell (called by the login program): 1. The /etc/profile script file. 12
http://tinyurl.com/37ga9g6
13
Installing T X Live from DVD: Notes E
2. The .bash profile script in the user’s home directory referred to as miss ssin ing g $HOME/.bash login $HOME/.bash $HOME/.bash profile or ~ /.bash /.bash profile profile. If it is mi is run. run. If If both both .bash profile and .bash login are mis missin sing g $HOME/.profile is run. Only one of these files is run. The one run is the first one of the list found: (a) $HOME/.bash profile (b) $HOME/.bash login (c) $HOME/.profile 3. When When bash exits the file called .bash logout in the user’s home directory is run.
Good Luck and Happy TE Xing!
14