I am new to TeX and I want to add a .sty file. But when I tried all the ways described on this site. I could not do it, as it requires the permission of the folder to add the .sty file.I am a Linux user.
I have tried:
copying the .sty file in
/usr/local/share/texmf but I did not find any file here. Again I have tried copying here:
/usr/share/texmf/tex/latex but did not get any permission.
Again I have tried with the
/home/username and I was shocked that I did not saw any folder
After these I have also tried the ways as advised in the comment section as well as the answer. But did not work.
Any further help will be appreciated.