I know how to install - Installing Extra Packages. But how to remove?

In particular, package "ifpdf.sty" from the bundle "oberdiek" (or the whole bundle).


  • OS: Ubuntu 12.04
  • Latex: pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)

UPDATE: the original problem why I needed this is resolved. Now the question has a purely theoretic character: "There is a manual on the web how to install a package, but there seems to be none on how to remove".

  • 3
    Why do you want to remove this package (which is used by a lot of other packages and so removing it is not a good idea)? – Ulrike Fischer Dec 4 '14 at 13:08
  • 2
    The recommended and less invasive way would be to make a minimal working example and make deleting packages the last resort. – Johannes_B Dec 4 '14 at 13:20
  • 4
    You can create an empty ifpdf.sty in your current folder if you want to test what happens without it. You can also trick latex in thinking that the package has already been loaded by addding \makeatletter\@namedef{ver@ifpdf.sty}\makeatother to your document. But I seldom need such tricks for tests. – Ulrike Fischer Dec 4 '14 at 13:25
  • 4
    Whatever the problem is that can't be the correct solution. the l3kernel packages just being installed will do nothing (latex won't load them) so if they were doing something then you must be using a package that is loading the l3kernel packages. that will break now they are gone unless you previously had 2 installed versions and now you are using the old (or new?) one. – David Carlisle Dec 4 '14 at 13:33
  • 2
    When you did a vanilla install of TeX Live it will be iinstalled. The TeX Live in the repositories of Debian is quite old and there is no tlmgr available. Updateing to a recent version of ubuntu will take care of that. – Johannes_B Dec 5 '14 at 19:09

Regarding the theoretical question: in miktex it can be done with the package manager (either the user or the admin version depending on how you did install the package), in a current texlive with tlmgr. But normally it should not be necessary so you should really check what's going on. –

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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