I have installed ubuntu10.04 (32bit). My .tex editor is "kile2.1 beta 4". Whenever I compile the following command with kile shows an error 'tikz.sty' not found.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0)--(4,2);
\end{tikzpicture}
\end{document}
How can I fix this problem in my system ubuntu10.04
texlive 2009 distroinside the 10.04 ubuntu repository usingsudo apt-get install texlive-full?. if not, I recommend installing TeXLive 2013 vanilla using this How to install “vanilla” TeXLive on Debian or Ubuntu?. BTW 10.04 is a bit old, stick with latest LTS version of Ubuntu LTS which is 12.04.3 now. – texenthusiast Oct 25 '13 at 03:35kpsewhich tikzat terminal return the path of tikz ? Test 2 to verify install: doespdflatex sample2eat terminal give asample2e.pdf– texenthusiast Oct 25 '13 at 03:47pgfseparately:sudo apt-get install pgfshould get you PGF/TikZ. Check for 10.04 (that's old) withapt-cache search pgf. – jon Oct 25 '13 at 03:53