Am Freitag, 26. August 2011 schrieb Jürgen Spitzmüller:
> Julio Rojas wrote:
> > I removed the version of biber I had previously installed.
> > 
> > jcredberry@2e14-200305:/usr/local/texlive/2011/texmf/tex/latex$ biber -v
> > biber version: 0.9.4
> > 
> > But Lyx is still looking for textlive 2009 (which is also installed).
> > Do you know how can I make it to look at texlive 2011 (yes, I
> > reconfigured several times after installation)?
> 
> I suppose you have to adjust your path settings. In your local profile file
> (~/.profile most probably), add the following (if the file does not exist
> yet, create it):

This is not  sufficient. With this, the path is set only for programs called 
from the command line.
To make it available to the desktop you should consider to edit 
"~/.pam_environment" (Create it, if not already there)

The syntax is simple a list of shell-variables you want to set. Like this:
        PATH 
OVERRIDE=/usr/local/bin:/usr/local/texlive/2011/bin/x86_64-linux:/usr/bin:/usr/sbin:/sbin:/bin:/usr/bin/X11:.

> #
> # Set some environment variables for TeX/LaTeX
> #
> export TEXMFCNF=/usr/local/texlive/2011/texmf/web2c:$TEXMFCNF
> export PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH
> 
> After relogin, LyX should find the right binaries. See also sec. 3.4.1 of
> the texlive manual:
> http://www.tug.org/texlive/doc/texlive-en/texlive-en.html
> 
> I have created a symlink here from /usr/local/texlive/current to
> /usr/local/texlive/2011 and set all pathes to current instead of 2011. This
> way, I need only change the symlink after a distribution upgrade.

Good idea

> HTH,
> Jürgen

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to