I'm looking for command to use in one terminal so as to know the following facts.
- Is there one LaTeX distribution installed ?
- What is the path where to put local classes or packages ? In my Mac, I know that it is
The command will be used by one Python script so as to automate the installation of my personnal little classes or packages.
The solutions given in the following comments work well on Mac, and I think that this works also under Linux, but I don't know how to do under Windows...