ubuntu 15.04 multi-markdown binary will not output tex file

I found that installing the ubuntu 15.04 version of multi-markdown does not work to output .tex files. An error message is produced.

I solved the problem by removing it:

sudo apt-get purge libtext-multimarkdown-perl

compiling peg-multimarkdown using the instructions found at https://github.com/fletcher/peg-multimarkdown

Then copying (“sudo su” and then “nautilus”) the resulting binary to /usr/local/bin which then allowed Scrivener to output tex files usable in any LaTeX editor.

A good tutorial on configuring Scrivener to output tex is here: https://abnormaldata.wordpress.com/2015/01/14/configuring-scrivener-latex/