I have texlive running on ubuntu 14.04lts. I am able to compile tex documents to pdf, except some documents which require use of mtpro2. After reading some instructions on how to instal mtpro2 here:
I removed the whole textlive installation , including the texmf folder in /usr/share. After reinstalling
the installation went well and works fine. However with soe files I get the mtpro2 file error below:
! LaTeX Error: File `mtpro2.sty' not found. Type X to quit or <RETURN> to proceed, Enter file name:
Part of the output of running
./mtpro2-texlive.sh -i mtp2lite.zip.tpm
Removing previous MTPro2 files, as a precaution. Removing MTPro2 files from /usr/local/share/texmf. Coping all files in ./mtpro2-texlive_tmpdir_P9fTSILi/texmf/ to /usr/local/share/texmf/ Removing the temporary directory. Updating TeX Live ...
Essentially the error appearing on the command line is:
chmod: cannot access ‘/usr/local/share/texmf/’: No such file or directory
How do I get back texmf in /usr/local/share? Help will be appreciated.