Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've installed Texlive 2011 in Ubuntu 12.04 (64 bits) following this tuto : http://starlinq.livejournal.com/2542.html

I've changed the PATH and so on in the ~/.profil file.

But after that, I've enabled the TeX Live Backports PPA and downloaded its Texlive packages, without having uninstalled the first TexLive 2011 nor changed the PATH.

As a result, I don't know which Texlive version I use, and what I have to do to "clean" my installation. Could you help me ?!

A "latex --v" command in a terminal answered:

pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011) kpathsea version 6.0.1 Copyright 2011 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.5.2; using libpng 1.5.2 Compiled with zlib 1.2.5; using zlib 1.2.5 Compiled with xpdf version 3.02pl5

In Synaptic, all the texlive packages appear to come from the ppa (2012.20120529-1~precise1)

Thanks for your help.

share|improve this question
1  
Perhaps kpsewhich will help..? E.g.: kpsewhich -show-path latex –  jon Jun 6 '12 at 13:23
    
@jon Are you meaning which latex? –  egreg Jun 6 '12 at 17:36
    
@egreg -- Won't that just say something like /usr/bin/latex? I thought maybe -show-path or kpsewhich -var-value TEXINPUTS might give a sense of which texmf 'base' Ratoune2008's system searches. But I've never double installed like this, so I'm not sure if kpsewhich will return output that can help him make the determination he wants.... –  jon Jun 6 '12 at 18:02
    
@jon Usually the "vanilla" installation of TeX Live is done without putting the binaries (or aliases thereof) in /usr/bin/, so which latex might shed light. Probably kpsewhich plain.tex could give more information. What's certain is that kpsewhich -show-path latex doesn't tell anything apart from Ignoring unknown file type `latex' –  egreg Jun 6 '12 at 18:07
1  
@MartinSchröder: I've done it before thinking it, as I'm a fool ;-). In fact, I discovered the ppa backports some minutes after having installed the "vanilla" version... Thanks to all for your help, I think I got it: I had only the '/usr/local/texlive/2011/' directory (not a '.../2009/' one). I've undone the PATH changes, and made a 'sudo apt-get autoclean && sudo apt-get autoremove'. Then, when I do a 'latex --v' in a terminal, I get a 'This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) restricted \write18 enabled'. Thanks to all ! –  Ratoune2008 Jun 9 '12 at 19:17
show 5 more comments

closed as too localized by Joseph Wright Aug 4 '12 at 22:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.