Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to use latexmk tools together with TeX Live 2012, but I could not find latexmk. Is it extra tools, or did TeX Live stop supporting it?

In my case, I have OS Ubuntu 12.10.

share|improve this question
I have it insttalled as part of tl2012 in $ type latexmk latexmk is /usr/local/texlive/2012/bin/i386-cygwin/latexmk have you run tlmgr install latexmk –  David Carlisle Feb 3 '13 at 1:08
If your TeXLive 2012 comes from ubuntu packages, run sudo apt-get install latexmk. –  Paul Gaborit Feb 3 '13 at 1:26
But in this way latexmk has version 4.24. Current released version is 4.35 dated 11 November 2012. –  jafan Feb 3 '13 at 9:16
If you always want to have the latest latexmk version in your TeX Live, I would suppose to use the "plain TeX Live" from tug.org/texlive. Distribution's packaging is often delayed some days/weeks or even months. –  Stephan Lukasczyk Feb 3 '13 at 10:07
If you want control of your TeX Live installation and updates to the latest packages, you'll need to do a 'vanilla' install as explained in tex.stackexchange.com/q/1092. (Many of us feel this is the best approach on Linux.) –  Joseph Wright Feb 3 '13 at 11:22
add comment

1 Answer

Latexmk is a Perl script, and so can be installed on any system featuring a Perl set up: certainly Ubuntu has this! The latest code can be obtained from CTAN, and there are installation instructions there. Broadly, what you need to do is

  1. Put the latexmk.pl where the 'system can find it' (~/bin is common for 'personal' scripts, or /usr/local/bin if you have root privileges and want a system-wide install).

  2. Rename this file as just latexmk

  3. Mark it as executable (chmod 777 latexmk)

There is a bit more detail in the docs for the script, but that should hopefully get you started.

Note that the 'recommended' way to have an up-to-date TeX system on Linux is to use the 'vanilla' TeX Live from TUG: How to install "vanilla" TeXLive on Debian or Ubuntu?.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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