<div dir="ltr"><div dir="ltr"><div dir="ltr">On Fri, May 20, 2022 at 5:59 AM <<a href="mailto:karl@aspodata.se">karl@aspodata.se</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Zdenek Wagner:<br>
> pá 20. 5. 2022 v 10:42 odesílatel <<a href="mailto:karl@aspodata.se" target="_blank">karl@aspodata.se</a>> napsal:<br>
...<br>
> > And to Norbert, yes, I put the texlive bin dir. later in the PATH,<br>
> > soo I can hopefully identify lingering packages, not all are named<br>
> > *tex*, and some needed are called tex-something.<br>
> ><br>
> The problem is that TeX from the linux distros is often incomplete and<br>
> not all binaries are included.<br>
<br>
Hence I wanted texlive, and I didn't need to change the build.<br>
<br>
> It can thus happen that sometimes a<br>
> binary from the linux distro is used, sometimes the one from TL.<br>
> That's why TL should be at the beginning of the PATH, otherwise in the<br>
> best case the results are inconsistent, but quite often you use a<br>
> strange mixture of incompatible files which leads to strange errors. I<br>
> saw a lot of errors caused by mixing the linux distro and TL TeX.<br>
<br>
But I kindof wanted to get rid of unneeded packages...<br></blockquote><div><br></div><div>You can make a list of the files in the CTAN texlive bin directory and</div><div>then either search for the files with same name in /usr/bin or  use</div><div>"type" on each name:</div><div><br></div><div>From years of experience with a range of tex systems and OS's, I can</div><div>report that stray programs with names that clash with TeX Live are an</div><div>all too common source of weird errors.  Some users learn from the</div><div>internet to cure "program not found" by copying "program" to</div><div>the directory with their document and putting "." in the PATH.  </div><div><br></div><div>Something like:</div><div><br></div><div><div> for f in $('ls' -1 /usr/local/texlive/2022/bin/x86_64-linux|head) ; do </div><div>   type $(basename $f) </div><div> done | grep -Fv 'not found'</div></div><div><br></div><div>with the texlive directory removed from the PATH should generate a </div><div>list of name clashes with stuff found elsewhere on your PATH.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>George N. White III<br><br></div></div></div></div></div>