If your distribution is not set up to automatically download packages as needed (like in MiKTeX, for example), then you have to download them yourself. Do you know where to go to download the required packages?Regardless, what distribution are you using to compile your document? For example, if you're using MiKTeX on a Windows system, it comes with a 'Package Manager' that allows you to (un-)install packages as needed, and also run the required \texhash to update your filename database (FNDB).
Kile is just a text editor. It is not a LaTeX system configurator, so
far as I know.
You said you downloaded. But then it is necessary to move the file
folder into a location that is in the latex PATH, and then run
"texhash" or "mktexslr" (depending on which linux distribution you
use). You will know the system can find the package if you go look in
the ls-R files in the LaTeX path.
It seems unlikely to me that you should actually have to do that kind
of manual install, though. Unlike Windows, you won't have a package
manager from TexLive, but I am certain there are packages for your
system that will have what you need. In Ubuntu, for example, I have
these packages:
pgf - TeX Portable Graphic Format
texlive-pictures - TeX Live: Graphics packages and programs
Fedora has a lot of texlive packages, I'm sure it is in there too.
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
On Mon, Mar 21, 2011 at 12:28 PM, Anglea <hanyah...@yahoo.com> wrote:
> Thanks for help,
>
> \usepackage{tikz,pgfplots,pgf}
> \usetikzlibrary{calc}
> \usetikzlibrary{trees}
> \usetikzlibrary{decorations.markings}
> \usetikzlibrary{decorations.pathmorphing}
>
> Now it does not complain from the pgfplots as I was successful to
> download it. I am using Kile on Linux and I do not know how to check
> which version that I am using.
> below is the error message when IKile is just a text editor. It is not a LaTeX system configurator, so far as I know.
> compiled my file, it still complains from the \usetikzlibrary and it
> does not recongnize this command. I do not what is the problem, is it
> related to the version??
You said you downloaded. But then it is necessary to move the file folder into a location that is in the latex PATH, and then run "texhash" or "mktexslr" (depending on which linux distribution you use). You will know the system can find the package if you go look in the ls-R files in the LaTeX path.
It seems unlikely to me that you should actually have to do that kind of manual install, though. Unlike Windows, you won't have a package manager from TexLive,
but I am certain there are packages for your system that will have what you need. In Ubuntu, for example, I have these packages:
pgf - TeX Portable Graphic Format
texlive-pictures - TeX Live: Graphics packages and programs