I have a locally installed pgf in my local texmf tree. Now my tex distribution finally caught up and the version of pfg in the package manager is newer than my locally installed version. How can I delete the local version?
|
|
|||||
|
|
You have to delete all associated files manually and then refresh the filename database (FNDB). The details of this process depend on your OS. |
|||||||||||||||
|
|
To find out what files, you can get hold of the original archive that you got I'm using
To remove any empty directories, you could then do
Note that
but when deleting them, you need to delete them in reverse order. (I suppose you could modify the original script to reverse the order:
if you really wanted to) You could also just move them out of the way, rather than deleting them. And I'd recommend making a backup of your |
|||||||
|
|
Thorsten's and Andrew's answers are excellent, and will pertain to any package that you have installed locally which now needs to be removed. However, there may be an easier way. It seems that all files that the pgf package contains, at least in version 2.10, is contained in one of the following directories:
except the |
||||
|
|
|
This looks for all the subdirectories named
Use |
|||||
|
|
In miktex I don't install a local pgf in "the" local texmf tree. I put all the pgf-files in a new texmf tree only for pgf (called eg. testpgf) and then "mount" this tree as a new local texmf tree in miktex settings. When I no longer need this pgf, I "unmount" and then delete the complete tree. |
|||
|
|