4

Possible Duplicate:
How to install a current version of TikZ?

I have got PGF 2.00 installed, and I would like to upgrade it to 2.10.

sudo apt-get install pgf still installs 2.00 under my system. So I went to the website : http://sourceforge.net/projects/pgf/, downloaded the package. I have checked doc/generic/pgf/pgfmanual.pdf, but there are not enough details about installation.

Could anyone help?

By the way, it requires the xcolor package version 2.00 or higher. Does anyone know how to check that?

4

You can create a folder called texmf in your home folder and unpack the zip file in there (so that you have folders ~/textmf/tex etc.). That will override the files installed by Ubuntu. (That also means if Ubuntu ever upgrades to a post-2.10 version, you'll still use your locally installed 2.10.)

As to xcolor, it's unfortunately difficult for version within LaTeX, which traditionally goes by release date. The following should work in a Terminal window:

grep -A1 ProvidesPackage `kpsewhich xcolor.sty`

which here yields

\ProvidesPackage{xcolor}
 [2007/01/21 v2.11 LaTeX color extensions (UK)]

so you're pretty likely to have a recent enough version of xcolor.

| improve this answer | |
  • Indeed. It's quite fortunate that pgf is shipped in a form that doesn't require running latex on a .ins file or anything. Just unzip in $HOME/texmf and you're golden. – kahen Oct 16 '11 at 16:28
  • Thank you... I've checked xcolor, its version is fine. I have unpacked the zip file to ~/textmf/tex/pgf_2.10.tds, and checked its version by this way, but it still returns 2.10... – SoftTimur Oct 16 '11 at 16:36
  • @SoftTimur: typo? It's texmf, only one t. – Ulrich Schwarz Oct 16 '11 at 16:37
  • Sorry, I meant ~/texmf/tex/pgf_2.10.tds... – SoftTimur Oct 16 '11 at 16:41
  • Sorry, I was unclear in the description. After unpacking, you should have paths like ~/texmf/tex/generic/pgf/frontendlayer/..., ~/texmf/tex/latex/pgf/..., everything but the texmf is already properly in the zip. – Ulrich Schwarz Oct 16 '11 at 16:44

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