# texlive 2011 / ubuntu 12.04 and TeX Live Backports PPA [closed]

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)

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