[Tex/LaTex] How to install package so texmaker can use it

installingpackagestexmaker

I am trying to install the isomath package. I am following method 3 here.
The command kpsewhich -var-value TEXMFLOCAL gives me /usr/local/share/texmf I put my isomath.sty which I got from CTAN there and then run sudo $(which mktexlsr) which outputs:

mktexlsr: Updating /usr/local/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... 
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.

then I tried to restart texmaker but I still get the error LaTeX Error: File 'isomath.sty' not found.

Then I tried to do what it says in the README of isomath which says:

Copy/Move/Link isomath.sty to a suitable place in the TDS_ and run
texhash, or place it in the current working directory (e.g. for
testing).

I ran texhash whith this output:

texhash: /usr/local/share/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: Done.

As I understand it I did everything right but texmaker is still complaining about not finding isomath, any ideas what I did wrong?

Best Answer

I ended up purging texlive and then just installing sudo apt-get install texlive-full which might take up more space then needed, but I had all the packages I needed.