I installed texlive 2011 using the information on: http://www.tug.org/texlive/quickinstall.html. After the install I added the following to the end of my .pam_environment file:
Now when I print one of those variables, the entry I added appears repeated:
Am I setting the environment variables correctly? The information in https://help.ubuntu.com/community/EnvironmentVariables suggest that I use .pam_environment.
$ printenv MANPATH
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