I am on Ubuntu 8.04 and just install TeX Live with :

sudo apt-get install texlive-full.

I tried to compile my .tex file with TexMaker. I get :

  1. xcolor.sty not found
  2. titlesec.sty not found

How can I fix the problem ?


Make sure that you have latex-xcolor installed. I think texlive-latex-extra may contain titlesec Btw. the ubuntu texlive is pretty old. Maybe you want to install it manually.

  • 1
    sudo apt-get install texlive-latex-extra indeed solves the problem. I don't see any issues now in 2015. – Wilmer E. Henao Apr 9 '15 at 20:57
  • texlive-latex-extra is only 500MB vs the 2GB of the parent texlive-full package. This answer is preferable IMHO. – meawoppl Dec 22 '15 at 19:12
  • texlive-latex-extra just helped me with a missing pgfcore.sty. – Waldir Leoncio Nov 12 '19 at 9:11

I am not entirely sure what version of texlive is on Ubuntu 8.04. Haven't the repos deprecated? I.e. your packages are very old.

I suggest you do a manual installation. See texlive 2011. It is actually not that difficult.
If you do this please remember to uninstall texlive-full, and others, using your package manager.

  • 1
    ubuntu packges don't have tlmgr – someonr Feb 1 '12 at 20:11
  • @someonr thanks, I will remove that statement. – zeroth Feb 1 '12 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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