TeX Live and MacTeXnew texlive & texmaker install on ubuntu don't work (noob)

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
maja z
Posts: 18
Joined: Mon May 18, 2009 8:53 pm

new texlive & texmaker install on ubuntu don't work (noob)

Post by maja z »

OK, so I had a perfectly fine setup on Karmic: texlive and texmaker as downloaded from the synaptic package manager. Then I wanted to manually install another package and that seemed really complicated so I decided to uninstall everything and start fresh (so I would have the newer versions and the tlmgr option as well). For the record it was the 2007 texlive I had and 1.9.2 texmaker - these were the most up to date versions on the ubuntu repositories..

So here's what I did:
1. Uninstalled all texlive, texmaker and even tex related stuff on synaptic - complete removal.

2. Downloaded and installed texlive 2009 off tug.org.

3. Changed the PATH in .bashrc

4. Downloaded and installed texmaker 2.0

So I run texmaker and try to build a simple .tex file and I get "Error: could not start the command". And it doesn't matter which build I chose.

But if I try running it from the terminal it works.

Also from the terminal latex -v and all the others are OK.

What am I doing wrong? I didn't change any settings in texmaker - in fact I was surprised that it seemed to "remember" all my previous settings.. Any tips would be greatly appreciated!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

new texlive & texmaker install on ubuntu don't work (noob)

Post by meho_r »

1. Add absolute paths to respective commands in "Option > Commands" of Texmaker. E.g., I installed TL2009 locally, in my /home dir and for "LaTeX" I entered:

Code: Select all

/home/mehor/TeXLive/bin/x86_64-linux/latex -interaction=nonstopmode %.tex
for "PdfLaTeX" I entered:

Code: Select all

/home/mehor/TeXLive/bin/x86_64-linux/pdflatex -interaction=nonstopmode %.tex
Or:

2. If you set path correctly in .bashrc, try starting Texmaker from Terminal so it inherits settings in .bashrc.
maja z
Posts: 18
Joined: Mon May 18, 2009 8:53 pm

Re: new texlive & texmaker install on ubuntu don't work (noo

Post by maja z »

Thanks meho_r!

Both your options work - I've added the full path to the texmaker commands, so it's fine.

If I run texmaker from the terminal it also works, but it doesn't "remember" the path for next time I run it normally.

So I got it to work, but I am still confused as to why it doesn't use the .bashrc path correctly on its own?
Post Reply