Add tags Information and discussion about TeXLive distribution for all platforms; installation, administration; field reports
6 posts • Page 1 of 1
So after a clean installation of Ubuntu 11.04, I downloaded the web install-tl to install texlive 2011 doing a full installation following the instructions in the guide http://www.tug.org/texlive/doc/texli...#x1-170003.1.1
Installation went through fine and I added to my $HOME/.profile
Now when I open the terminal and do 'tex' I see that I am using 2011 instead of the native 2009 shipped with the distro, great. I can compile .tex files and all the rest from the terminal. all seems to be good.
I try and compile something in Kile at this point, but it fails because of being unable to find .sty files (that are definitely in the 2011 texlive package) so I find this is strange and discovered when looking at the output that Kile is actually still using texlive 2009.....sigh....
Now I went back to the terminal as root and did echo $PATH and found that actually as root my PATH variable hadn't changed and when I ran tex at the terminal I got the 2009 verion, so thought maybe this had something to do with it, because perhaps it needed to update the PATH globally or something for Kile to recognise, so I went to etc/environment and added
and went to etc/manpath.config and added
Now at the terminal running as root tex does show the 2011 version, great (This also means tlmgr runs in root at the terminal which is nice as before it only found tlmgr under user and wouldn't let me make changes to packages). However I try Kile again and nope, still attempting to use 2009.
OK, at this stage I'm totally confused and start googling, I find an article by someone who seems in a very similar situation to me except not ubuntu 11.04, http://theunspokenwords.net/blog/Inf...h-texlive-2011
The jist is that kile being a KDE application only sees the KDE environment variables so you need to go to the $HOME/kde folder create an env folder and make a file path.sh with the definitions contained in it. I think this is finally going to solve it for me, restart, hurriedly run Kile, but nope same errors again!
I next found the thread at http://ubuntuforums.org/showthread.p...t=texlive+2009 and this prompted mean to remove the PATH= lines I had previously added to my .profile and replace with (changing 2011 to 2009 and x86_64 with i386 etc):
Another restart, and another attempt at Kile, still no joy, but now a slightly
which at least seems to suggest even though it is still using 2009, it's searching for something in the right place
Anyone have an idea how I can resolve this and get Kile using 2011?
I do not use Kile. So, take my suggestions with caution.
Uninstall texlive from the distribution. IIRC, kile also will be removed. To prevent that you can create and install a texlive dummy package which prevents apt from removing it. Another alternative is to use TeXstudio (much similar to kile). TeXstudio, fortunately, does not depend on texlive packages of the distribution.
Set the path to TeX executables in the kile preferences. That will make kile use the ones you have installed.
Hope that helps.
Hi, thanks very much for replying.
Do you mean texlive 2009 or 2011, or both? and how do I remove these exactly? (I think I can remove 2011 by running tlmgr -gui and clicking unistall in one of menus, but not sure about removing the native 2009 if that's what you mean...how do I find the 'right' texlive in synaptic say)
sorry, I'm relatively new to all this, how do I install a texlive dummy package?
I tried TeXmaker and it worked fine, ran 2011 texlive found all .sty files etc, seems just a Kile issue.
Last edited by fpghost on Fri Oct 7th, 2011, edited 1 time in total.
I googled dummy package and kile, this looks promising http://texblog.net/latex-archive/linux/ ... 08-equivs/. Is that the kind of thing you mean?
I meant TL-2009 that is installed on the system. Use synaptic, the package manager, to remove the installed packages. Let TL-2011 be on the system as that is better.
Yes. If you have problems creating a texlive dummy package, send me a private message. I will send it to you by email.
6 posts • Page 1 of 1
Users browsing this forum: No registered users and 7 guests