How To Install Latexmk?
latexmk
Install latexmk
-
Debian
apt-get install latexmk
Click to copy -
Ubuntu
apt-get install latexmk
Click to copy -
Arch Linux
pacman -S latexmk
Click to copy -
Kali Linux
apt-get install latexmk
Click to copy -
Fedora
dnf install latexmk
Click to copy -
Raspbian
apt-get install latexmk
Click to copy
Compile LaTeX source files into finished documents. Automatically does multiple runs when needed.
How to use latexmk?
Below are few example commands for latexmk that you can use in the terminal.
Compile a dvi (DeVice Independent file) document from every source:latexmk
Click to copyCompile a dvi document from a specific source file:latexmk source.tex
Click to copyCompile a pdf document:latexmk -pdf source.tex
Click to copyForce the generation of a document even if there are errors:latexmk -f source.tex
Click to copyClean up temporary tex files created for a specific tex file:latexmk -c source.tex
Click to copyClean up all temporary tex files in the current directory:latexmk -c
Click to copy
Install the latest version of latexmk in Debian, Ubuntu, Arch, Kali, Fedora and Raspbian from terminal. To install the latexmk just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of latexmk from the respository and install it in your computer/server.