TeX Live and MacTeX ⇒ Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
After searching the forum, it seems this question has not been asked ... I am puzzled by the huge difference in installation times (from a DVD) between TeX Live (TL) 2010 and TL 2009: approx. 55 minutes for TL 2009 vs. approx. 7 minutes (!) for TL 2010. I'm wondering if anyone else has experienced this and could explain why there is such a marked difference. Did the TL gurus do something to reduce the package size and speed up the installation process?
Both TL .iso's were downloaded from a CTAN mirror in North America, their md5sum and sha256 sum were verified as correct prior to burning, and they were burned using the same CD/DVD optical drive. Also, they were installed on the same PC (although on different partitions); TL 2009 was installed in my CentOS 5.5 setup, and TL 2010 was installed in my Debian 6 (Squeeze) Xfce setup.
When I first tried installing TL 2010 last night, everything finished so quickly that I imagined something had gone wrong (despite the "successful install" message) ... However, when I checked, all the packages seemed to be there and the overall installation size was correct.
On my Debian setup, I finally gave up and installed TL 2009 from the official Debian repos because I ran into unexpected headaches correctly setting up the $PATH. (Debian apparently handles this differently than the other two distros in which I successfully installed TL from DVD). I Googled and Googled -- including a search here -- and tried several solutions but nothing worked. It was getting very late, I was frustrated and I quit. (Maybe I gave up too easily, but I decided that I didn't need a Ph.D. in the intricacies of $PATH setting and its post-modern interrelationships with bash, .bashrc and /etc/profile).
Thanks for any explanations you can provide; I'd like to understand what's going on.
=david
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
If the system seems to be working fine, I wouldn't worry too much about it, though!
(It's hard to imagine setting the PATH variable could be that hard on Debian... if it becomes an issue again, do bring it up here, and I'm sure we could figure it out.)
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
Thank you for taking the time to reply; I appreciate it.
To answer your questions:
(1). Yes, I installed the same scheme each time. Each one was a "full install (everything)", and the only change I made before pressing the "I" key (to begin the installation) was to change the default paper type from A4 to letter.
With my seven-minute TL 2010 installation last night, the install-tl script reported that it installed 2133 packages. (That's why I thought there must have been a mistake). I did a spot-check of the packages, and they seemed to be in the correct place(s) in the TeX directory.
(2). Re: the PATH variable:
(a). In CentOS 5.5 (with TL 2009), setting it was easy; I followed the TeX Live documentation and pasted three lines at the end of my .bash_profile file:
Code: Select all
# Get the aliases and functionsif [ -f ~/.bashrc ]; then··· . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/binexport PATHPATH=/usr/local/texlive/2009/bin/i386-linux:$PATH; export PATHMANPATH=/usr/local/texlive/2009/texmf/doc/man:$MANPATH; export MANPATHINFOPATH=/usr/local/texlive/2009/texmf/doc/info:$INFOPATH; export INFOPATH
(b). In Debian Squeeze (with TL 2010), things were not as straightforward. (I'm new to Debian, so my lack of familiarity may be a big part of the problem). Rather than a .bash_profile in the user's /home account, Debian appears to use a .profile file. The syntax of that file is different than what I saw in CentOS; the default structure is below:
Code: Select all
# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# see /usr/share/doc/bash/examples/startup-files for examples.# the files are located in the bash-doc package.# the default umask is set in /etc/profile; for setting the umask# for ssh logins, install and configure the libpam-umask package.#umask 022# if running bashif [ -n "$BASH_VERSION" ]; then··· # include .bashrc if it exists··· if [ -f "$HOME/.bashrc" ]; then··· . "$HOME/.bashrc"··· fifi# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; then··· PATH="$HOME/bin:$PATH"fi
Code: Select all
PATH=/usr/local/texlive/2010/bin/i386-linux:$PATH; export PATHMANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH; export MANPATHINFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH
I won't repeat every variation I tried, but the two I thought most likely to succeed were:
(+).
Code: Select all
[. . .]# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; then··· PATH="$HOME/bin:$PATH"PATH="PATH=/usr/local/texlive/2010/bin/i386-linux:$PATH; export PATHMANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH; export MANPATHINFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH"fi
Code: Select all
[. . .]# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; then··· PATH="$HOME/bin:$PATH"fiPATH=/usr/local/texlive/2010/bin/i386-linux:$PATH; export PATHMANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH; export MANPATHINFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH
So, if you see an obvious error in what I tried with Debian, and you can offer a solution without spending a lot of your time on it, I'd appreciate knowing how to set the PATH in such an environment. It would be good to know for future reference, and it might help other users searching the Forum.
Thanks again for your help,
=david
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
A change like this doesn't take effect immediately, however, so just adding these and then trying to run texhash wouldn't work. The .profile file is sourced when you log in, so you could log out and log back in or reboot. Or you could manually source .profile:
Code: Select all
source ~/.profile
(You can tell from the comment there that it isn't sourced if .bash_login or .bash_profile exist, so make sure they don't -- or if they do, put the lines in there.)
Try the same three lines in your .bashrc if putting them in .profile doesn't work, assuming bash is your default shell.
Oh, and I should mention, you can bypass the need for changing your PATH altogether if you click the box that says "Create SymLinks to Binaries" or something like that on the TeXlive installer screen. (I can't remember exactly what the option is called.)
One last thing to remember. The first line is slightly different for 64 bit linux:
Code: Select all
PATH=/usr/local/texlive/2010/bin/x86_64-linux:$PATH; export PATH
Re: Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
You've given me several options to try (and I may have been closer to a solution than I thought). I got thoroughly confused about the relationship between those .bash(...) files.
After last night's large TL 2009 download, I'm not inclined to uninstall it so that I can try with the TL 2010 DVD again on Squeeze. However, I do have some spare HD space to play around with, and the weekend is coming ... so I may experiment again. If I do, I'll report back on what happened.
Happy Thanksgiving to you and your family,
=david
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
2. I solved PATH problem by simply adding the path to TL binaries to my PATH variable in ~/.profile. (And I'll repeat again what frabjous already noted, keep an eye on ~/.bash_login and/or ~/.bash_profile files: if they exist, your ~/.profile file will be ignored).
Here is the content of my ~/.profile file (I put the TL-related line at the end of the file):
Code: Select all
# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# see /usr/share/doc/bash/examples/startup-files for examples.# the files are located in the bash-doc package.# the default umask is set in /etc/profile; for setting the umask# for ssh logins, install and configure the libpam-umask package.#umask 022# if running bashif [ -n "$BASH_VERSION" ]; then# include .bashrc if it existsif [ -f "$HOME/.bashrc" ]; then. "$HOME/.bashrc"fifi# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; thenPATH="$HOME/bin:$PATH"fiPATH=/home/mehor/TeXLive/bin/x86_64-linux:/home/mehor/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
Hi, meho_r,meho_r wrote: 2. I solved PATH problem by simply adding the path to TL binaries to my PATH variable in ~/.profile. (And I'll repeat again what frabjous already noted, keep an eye on ~/.bash_login and/or ~/.bash_profile files: if they exist, your ~/.profile file will be ignored).
Thank you for replying and for confirming that I haven't lost my mind. In my setup, I have only a ~/.profile file, so that should not be an issue. (I'm guessing it must be Debian's default because I did not change anything).
Your ~/.profile file will be helpful to use as a pattern -- although I notice that you installed TL into your /home directory. I would be keeping the default setting(s) suggested in the TL installation instructions.
Now I'm almost certain that the reason I ran into the "texhash not found" problem is because I did not log out and back again before I issued the texhash command.
Thanks again. Happy Thanksgiving to you and your family. (Now I'm off to help cook in the kitchen).
Re: Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
BTW: The is a section about "Vanilla TeX Live on Debian" on http://www.tug.org/texlive/debian.html. There is also a paragraph about setting the PATH on Debian system-wide.
Re: Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
Thank you, too, for the helpful suggestions. The notes about setting up TL on Debian are good; I will read them carefully before I try installing TL 2010 again.
My experience with Squeeze has been smooth so far. There has not been a large volume of updates (maybe because I'm using Xfce [?]); I've accepted all update candidates proposed by Synaptic and they have all updated without problems. I don't know if it will continue this way but I have my fingers crossed.
Installing TeX Live 2010 from DVD (vs. TeX Live 2009)
Yes, we didkalwisti wrote:After searching the forum, it seems this question has not been asked ... I am puzzled by the huge difference in installation times (from a DVD) between TeX Live (TL) 2010 and TL 2009: approx. 55 minutes for TL 2009 vs. approx. 7 minutes (!) for TL 2010. I'm wondering if anyone else has experienced this and could explain why there is such a marked difference. Did the TL gurus do something to reduce the package size and speed up the installation process?

Cheers,
Tomek