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 :
xcolor.sty not found
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.
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.