[Tex/LaTex] Automatic package install in linux?

installinglinuxpackagesupdating

In Windows, I run TexWorks, and when I include a package that I do not already have installed, it asks me if I want to install that package.

In linux (Ubuntu), I have tried this in TexWorks, and TexStudio, but it simply results in error, package not found. Is there a way to get such functionality in Linux? I tried installing texlive, but this did not evidently include that functionality.

Best Answer

There is no such functionality builtin as mentioned. However, with some botching one can create a small wrapper that does exactly that.

For example, itex uses expect to catch errors.

https://github.com/dopefishh/itex