I just installed latest (2019) vanilla-tex on my linux system. I want to use package polyglossia in its latest version. Long ago I asked the package developer that can I replace the entire folder of polyglossia and get the correct sty file at work & he said yes. Now when I did it, XeLaTeX cannot find polyglossia. Also note that I ran texhash after that folder replacement. Now how to solve this problem? I want this version of polyglossia to work.
My TeX specifications -
TeX 3.14159265 (TeX Live 2019/dev/Debian)
kpathsea version 6.3.1/dev
Solution suggested by user @moewe worked well, but only for one session. It stopped working when I opened a new session. Why this must be happening? I used all sudo privileges while issuing the commands.
kpsewhich polyglossia.styreturn if you run it on the command line? – moewe Apr 03 '20 at 13:32kpsewhich polyglossia.styreturned nothing. – Niranjan Apr 03 '20 at 13:36TeX Live 2019/dev/Debianmakes me think you also have a Debian (testing/dev) TeX live? Maybe you replaced the wrong folder? Do you have your system installed as root? Did you runtexhashas root? – moewe Apr 03 '20 at 13:40ldffile returns errors. Changing the sty file returns errors. Nothing is working, but I need some latest features. :( – Niranjan Apr 03 '20 at 13:40apt/apt-get? Some background fortexhashcan be found at https://tex.stackexchange.com/q/73016/35864 (well worth a read). – moewe Apr 03 '20 at 13:43