Results 1 to 1 of 1

Thread: How to correctly set environment variables

  1. #1
    Join Date
    May 2012

    Question How to correctly set environment variables

    Hello everyone,

    I installed texlive 2011 using the information on: After the install I added the following to the end of my .pam_environment file:
    MANPATH DEFAULT=${MANPATH}:/usr/local/texlive/2011/texmf/doc/man
    INFOPATH DEFAULT=${INFOPATH}:/usr/local/texlive/2011/texmf/doc/info
    PATH DEFAULT=${PATH}/usr/local/texlive/2011/bin/i386-linux
    Now when I print one of those variables, the entry I added appears repeated:
    $ printenv MANPATH
    Am I setting the environment variables correctly? The information in suggest that I use .pam_environment.

    I'd appreciate it if someone could shed some light on this.

    I forgot to mention that I also get an error when using tex manpages. The manual page shows up but when I leave there is the following message:
    $ man pdflatex
    man: can't resolve /usr/share/man/man1/pdflatex.1.gz: No such file or directory
    Last edited by daniel4k; June 1st, 2012 at 05:18 PM. Reason: Extra information


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts