About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-12-13: Ebook sale (12th December 2024 – 1st January 2025): cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.


A.2 Refreshing the TeX Database

On older TeX distributions you had to refresh the TeX database whenever you installed new classes or packages. With newer installations you don't need to do this if you install them in your <TEXMF-HOME> directory, except under certain circumstances (for example, you're using using a networked drive). If it turns out that TeX can't find a new class or package you have installed in <TEXMF-HOME> you will need to update the database using the texhash (or mktexlsr) application. This is a command-line application, so you need a terminal or command prompt.

For example, on UNIX/Linux, to update <TEXMF-HOME> (the directory ~/texmf) you need to type the following at the command prompt:

texhash ~/texmf

If you are using a modern TeX distribution, such as MiKTeX, TeX Live or MacTeX there should be a package manager that has a package installation and refresh facility. For example, TeX Live comes with the TeX Live Manager (tlmgr or mactlmgr) and recent versions of MiKTeX have an application called MiKTeX Update Wizard which can automatically download and install known packages.

If you experience any problems, contact your system administrator for help or try one of the resources listed in Appendix C. Need More Help?.

Related UK FAQ topics:


This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-00-5).

© 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs