As said before just put the custom .sty
into ~/texmf/tex
or in /usr/share/texmf-texlive/tex/
but don’t forget to run mktexlsr
or texhash
to update the local package database of LaTeX. Otherwise LaTeX won’t find it at all, unless it is in the same directory of the processed file.