Run
which pdflatex command in Terminal and see which binary is listed. My guess is that it will show a binary located somewhere in
/usr... or
/usr/local..., which means that you have another TeXLive installed on your system and binaries from that installation are used.
That being said, if you have TeXLive installed locally (in your home dir), it might be a better idea to add its path at the end of
.profile file (note the dot at the beginning) which is located in your home dir (if there is no
.profile file there, create it). Here's how the last line in my
~/.profile file looks:
Code: Select all
export PATH=/home/mehor/TeXLive/bin/x86_64-linux:$PATH
Yours should be something like this (replace
your_username with your actual username):
Code: Select all
export PATH=/home/your_username/texlive/2011/bin/x86_64-linux:$PATH
After adding this line to
~/.profile, log out and log in again, then try
which pdflatex command again. This time, it should show
/home/your_username/texlive/2011/bin/x86_64-linux/pdflatex. If that is the case, simply revert commands in Texmaker to their original
latex,
pdflatex etc. and they should work. Try compiling a .tex file and check its .log file to make sure your local copy of
pdflatex is used.