# Ubuntu Kile Configuration - Changing the TexLive Distribution

I have TexLive 2013 distribution. I installed Kile. It seems, it has automatically installed some other texlive-base. Now what should I do to make it point to texLive 2013. Because even `titlesec` package is not found. Not only that, It has changed my system's LaTeX settings as well. If I run pdflatex from the terminal, I get the same error. This is the path of my TexLive 2013: `/usr/local/texlive/2013/bin/x86_64-linux/` What should I do?

After running system check, I get this:

``````#script:runTests.sh
#basedir:/tmp/kde-subhamrH3NRA/kilehyWjqM/

[TeX]
mustpass=where,basic,kile
executable=tex
where=/usr/bin/tex
version=3.1415926
basic=0
kile=0

[PDFTeX]
mustpass=
executable=pdftex
where=/usr/bin/pdftex
basic=0
kile=0

[LaTeX]
mustpass=where,basic,kile
executable=latex
where=/usr/bin/latex
basic=0
kile=0
src=0

[PDFLaTeX]
mustpass=
executable=pdflatex
where=/usr/bin/pdflatex
basic=0
kile=0

[DVItoPS]
mustpass=
executable=dvips
where=/usr/bin/dvips
kile=0

[DVItoPDF]
mustpass=
executable=dvipdfmx
where=/usr/bin/dvipdfmx
kile=0

[PStoPDF]
mustpass=
executable=ps2pdf
where=/usr/bin/ps2pdf

[BibTeX]
mustpass=
executable=bibtex
where=/usr/bin/bibtex
basic=0
kile=0

[MakeIndex]
mustpass=
executable=makeindex
where=/usr/bin/makeindex
basic=0
kile=0

[Okular]
mustpass=where
executable=okular
version=0.17.5
okular=0
where=/usr/bin/okular

mustpass=
where=

[DVItoPNG]
mustpass=
executable=dvipng
where=/usr/bin/dvipng

[Convert]
mustpass=
executable=convert
where=/usr/bin/convert
``````
• Kile will take the path of tex binaries from system path. Are you able to compile from terminal? Additionally you may perform a `System Check` from `Settings``System Check` from kile. What does it say? – user11232 Mar 1 '14 at 13:34
• I have edited my question @HarishKumar – subham soni Mar 1 '14 at 13:46
• It seems, kile is taking something else. Did you completely remove your native tex distro that comes with linux? Check with `kpsewhich titlesec`. Kile won't modify the tex distribution but it reads paths. either completely remove native tex or put the path of texlive 2013 before `/usr/bin/`. – user11232 Mar 1 '14 at 13:53
• The lines such as `where=/usr/bin/pdflatex` are clearly the problem – egreg Mar 1 '14 at 13:54
• `kpsewhich titlesec` returns nothing. So I will reinstall my tex distribution – subham soni Mar 1 '14 at 13:58