How to install the latest version of microtype (v. 2.5) in Linux (Ubuntu) ?

(also, is v. 2.5 still in beta?)


I'm using this ppa https://launchpad.net/~texlive-backports/+archive/ppa/ which currently delivers 2012.20120611-3~ubuntu12.04.1, where texlive-latex-recommended contains microtype (v. 2.4).


I saw your question on one of my older questions. Egreg provided excellent details so I'll just use his instructions: Create a directory for microtype in your local TeX path.

sudo mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/microtype

Then move all the microtype stuff into that folder.

Next you need to tell TeX to use the new version you've installed:

sudo texhash

Now you have the most recent version of microtype installed locally. Your old microtype installation will still be on your system but LaTeX will know to look at this local installation first.

  • I updated my question; does your answer still apply? – nutty about natty Mar 29 '13 at 8:28
  • 1
    I think the command should be: mkdir -p $(kpsewhich -var-value TEXMFHOME)/tex/latex/microtype – Marco Daniel Mar 29 '13 at 9:00
  • Be aware that your local version of microtype will always be preferred over any future version of microtype installed by your distribution. – Martin Schröder Mar 29 '13 at 12:51
  • Nutty, right now you have 2.4 installed, do you really need 2.5? If so then it looks like you're going to have to install it yourself. My answer allows you to install the latest microtype package manually instead of using what's in the repository since it might not always be current. You download the package from CTAN and then install it as mentioned above. – bfootdav Mar 29 '13 at 12:58

Just for completeness, here on Fedora 18 (ships TeXlive 2012) it is just a dnf install "tex(microtype.sty)" (or yum, if you cling to that) away.

  • I updated my question; does your answer still apply? – nutty about natty Mar 29 '13 at 8:28

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.