Escolar Documentos
Profissional Documentos
Cultura Documentos
Contents
1 Why Install TEX Live 2015 instead of TL 2011?
3 Pre-Installation
3.1 Mount the ISO Image on the Temporary Mount Point . . . . .
3
4
4 Installation Proper
4.1 Using the Installers Text Mode . . . . . . . . . . . . . . . . .
4.2 Duration of Installation . . . . . . . . . . . . . . . . . . . . .
4
5
6
6 Post-Installation Configuration
6.1 Setting the PATH Variable . . . . . . . . . . . . . . . . . . . . .
6.2 Font Configuration for XeTeX . . . . . . . . . . . . . . . . . .
6
6
7
10
Abstract
These are notes I made during my installation of TEX Live (hereafter abbreviated TL), using a TL .iso file downloaded from a CTAN
mirror on the Internet. I successfully installed TL 2015 on PCLinuxOSs
64-bit MATE Edition.
This method uses an ISO file which you download to your /home
folder, and will then install directlywithout the need for burning it
to a DVD. Installing from an ISO disk image is more environmentally
friendly than using a one-off optical disc.
The instructions are not 100% complete, so I recommend that, in
case of doubt, you read the TL documentation available on TUGs website in conjunction with this document.
Disclaimer: Although this procedure may contain a few errors or inaccuracies, it worked for me and I hope it will work for you, too. I do
not believe this installation method will break your system, as the TL
installer adopts a distro-neutral, plain vanilla approach. I have used
this approach for the past few years on my PCLinuxOS systems and
it has never caused any problems / conflicts.1 However, please understand that this how-to is presented as is with absolutely no guarantees.
If you want a more current TEX installation than TL 2011,2 with a comprehensive collection of add-on packages, and have approximately 2.9 GB of
free hard disk space, it is worth the extra effort to install TL.
In a nutshell, what you will do is to run the built-in install script from the
TL ISO and then modify your PATH to make the TL binaries available to your
user account.
The general steps are as follows:
Download a TL .iso image. Verify its md5sum and sha256sum to ensure
that the download is not corrupted.
1
I am fully aware of the PCLinuxOS developers warning to not install software from
outside the official repositories. This is the sole instance in which I disobey that warning.
2
TL 2011 appears to be the version currently available in the PCLinuxOS repositories.
Pre-Installation
First, you need to clean up any existing TEX installations. If you previously installed any TL 2011 packages, completely remove them with
the Synaptic Package Manager.
Create a temporary mount point for the TL ISO disk image.
Open up a Terminal / Konsole within your regular user account, issue
the command su - and type roots password to acquire root user
privileges.4
# mkdir /mnt/iso
N.B.: That pound sign5 (#) as the command prompt is your verification that you are logged in as the root user.
It helps to visualize the mount point as a clothes hanger, and the file
(our ISO file) as the clothesif you need to hang up your clothes, you
need a hanger.6
3
3.1
Installation Proper
In general, we will use the Quick Install instructions from TUGs website as
a guideline:
https://www.tug.org/texlive/quickinstall.html
TEX Live Quick Install.
The full-length guide (for TEX Live 2015) can be read here:
https://www.tug.org/texlive/doc/texlive-en/texlive-en.html
Berry, Karl, ed. The TEX Live Guide 2015. May 2015.
7
-o
loop
9
Your TL .iso file.
10
The temporary mount point we just created.
8
4.1
I would like to thank members frabjous and sommerfee for clarifying this.
4.2
Duration of Installation
After the install script finishes, you should now unmount the ISO file:
# cd
# umount /mnt/iso
The first cd command exits the directory where you have been working.
N.B.: The command is umount (unmount without the first letter n).
Next, remove the directory you created at the beginning of the installation process.
# rmdir /mnt/iso
Be careful to not delete the /mnt directory, as it is one of Linuxs standard
subdirectories.
Post-Installation Configuration
6.1
When installation is complete, you must add the TEX Live binary directory to
your PATH, if you did not select the option to Create symlinks in system
directories when you began the installation process. (See Subsection 4.1
for details).
From within your regular user account, use your favorite text editor
(e.g., Geany, nano, vi, Emacs) and open your .bash profile file.
Paste these three lines into it, and save the file:
PATH=/usr/local/texlive/2015/bin/x86_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2015/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2015/texmf-dist/doc/info:$INFOPATH; export INFOPATH
12
6.2
All the tests suggested in the TL online guide passed. Some sample tests are:
$
$
$
$
$
$
$
tex --version
latex sample2e.tex
xdvi sample2e.dvi
pdflatex sample2e.tex
evince sample2e.pdf (or),
okular sample2e.pdf (or),
atril sample2e.pdf
Note: TL 2015 installs the xdvi viewer as part of its default routine.13
Apparently, Evince and Atril require a plug-in to display DVI files. I received
an error message when I tried opening a DVI with Evince.14
Once you have verified that the base TL system is working properly, to save
disk space you will probably want to delete the ISO file:
$ rm -Rf "TeX Live 2015"
9.1
LATEX Editors
9.2
Fonts
Fonts are a subjective area, but Ive found that installing some different fonts
can spice up your typographic life.
fonts-ttf-Gentium An attractive, open-source serif typeface designed by Victor Gaultney. Works well with documents in XeTeX (or LibreOffice).
fonts-ttf-libertine Another nice open-source serif typeface, designed by Philipp
Poll as an alternative to Times Roman.
SIL fonts SIL International has three nice fonts which, although they are
not in the PCLinuxOS repositories, are freely downloadable: Charis
SIL (similar to Bitstream Charter),16 Doulos SIL (very similar to Times / Times
New Roman)17 and Andika (a sans serif font designed especially for
literacy use).18
fonts-otf-inconsolata Inconsolata is a monospaced, sans serif font designed
by Raph Levien. It is especially good for displaying computer code listings.
Manually installing the SIL fonts is simple using the font manager of
PCLinuxOS Control Center:
PCLOS Control Center > System > Manage, add and remove fonts
10
Acknowledgments
I would like to thank Texstar (aka Bill Reynolds) for crafting a safe, secure
distribution and making it available to desktop Linux users. His commitment
and hard work are admirable; PCLinuxOS recently celebrated its twelfth
anniversary (in October 2015). Kudos also to the other members of PCLOSs
development and packaging team.
15
You must also install xterm to get Geanys preview feature working correctly.
software.sil.org/charis/download
17
software.sil.org/doulos/download
18
software.sil.org/andika/download
16
10
11