Version: 2018-02-07 (r828).
We now look for the directory with all the LaTeX packages. Try out the following directories by entering it in the address bar of Windows Explorer (or pressing Start+R and paste the address there):
The default location for a global MiKTeX installation:
C:\Program Files\MiKTeX\tex\latex
Else the default location for a local MiKTeX installation:
%AppData%\..\Local\Programs\MiKTeX\tex\latex
In the unlikely case both directories don't exist, open
MiKTeX Console, and in
Settings > Directories
try the directories with 'Install' as 'Purpose'.
Do you find a map existing here? Go to the directory tex
and then latex
.
Tasks > Refresh file name database
.
a-es2-latex
to
/usr/share/texmf-texlive/tex/latex/
(or /usr/local/texlive/texmf-local/tex/latex
if the first doesn't work).
sudo texhash