Minted provides syntax highligh for LaTeX, I had to install it a couple times, so I better keep the notes of how to do it:

Basides LaTeX modules, minted depends upon pygments, instalable on Debian-based distros with:

1
apt-get install python-pygments

or using PIP

1
pip install Pygments

In order to install minted itself we've got to create a ~/texmf/tex/latex/ directorio, there we'll download the source code

1
git clone https://github.com/gpoore/minted/

after this, enter the source subdirectory and run

1
tex mintex.ins

Minted is already installed, but it also depends on the following packages:

  • keyval
  • fancyvrb
  • xcolor
  • float
  • ifthen
  • calc
  • ifplatform

Debian-based distributions latex packages seem to include almos everyone, only lasting ifplatform, to install it we've got to download ifplatform.dtx and ifplatform.ins from the CTAN, move the files to a ~/texmf/tex/latex/ subdirectory (like ifplatform) and like minted run:

1
tex ifplatform.ins

To wrap up, run

1
texhash ~/texmf/

And it's done :)