TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was using Microsoft Windows 7 and I had installed TeXStudioand Latex flavour MikTex. Both were installed according to the instructions given in this Ĺink. I developed a document there and now I am on Ubuntu 12.04LTEand I installed TeXStudio but could not find MikTexfor Ubuntu. So I installed TexLive. When I try to compile my previously developed document, it gives error. It is missing many .styfiles. I tried to manually add sty files but actually it is hectic to add all the files. I have very long document and it was working fine in windows. Please help!

share|improve this question
It is factible that some packages are missing in the default texlive installation... it you have space in the Hard Drive, try using the full installation of texlive. Through terminal use the command line sudo apt-get install texlive-full or look up for texlive-full in the Software Center Manager (or whatever the name is!) – Dox Mar 7 '14 at 17:01
BTW Welcome to the Forum!! ;-) – Dox Mar 7 '14 at 17:02
How to install “vanilla” TeXLive on Debian or Ubuntu? might be helpful. – Adam Liter Mar 7 '14 at 17:12
@Dox Thanks for welcoming. I am adding full installation of Texlive. I hope this will solve the issue. – Gullu Butt Mar 7 '14 at 17:14
@Dox Problem is solved by installing full version of TexLive. – Gullu Butt Mar 7 '14 at 17:25
up vote 2 down vote accepted

The Linux version of MiKTeX was always declared as provisional, and is meanwhile not anymore available for download from MiKTeX.org. Therefore you are forced anyhow to use TeX Live, but apparently you used the pre-installed version of Ubuntu. For this issue we have a good Q & A here on TeX.SX: How to install "vanilla" TeXLive on Debian or Ubuntu? (and judging from comments this seems indeed to have helped you).

But apart from this there is still a number of packages, where MiKTeX is more liberal in estimation, what is called free. For several fonts of this type you can execute the script getnonfreefonts, that is included in TeX Live. For other packages, maybe also some fonts, there is no other solution then to manually install them. You can read for this these questions and answers: Where do I place my own .sty files, to make them available to all my .tex files? and especially for fonts Manual font installation.

Regarding TeXstudio: This is a multi-platform program, there is a version for Linux as well as one for Windows.

share|improve this answer

At least Fedora did split up TeXlive into literally hundreds of packages, mostly containing a single LaTeX package or it's documentation. What is installed by default is a somewhat minimalistic set. Missing .sty is somewhat common, the solution is to ask to install the package, here through names like tex(dcolumn) for the dcolumn package. Presumably Ubuntu has similar tools that allow you to install exactly what you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.