How to install TexMaker on Mac? I want to install TexMaker 4.5 on Mac OS X 10.9.5. On the official page, I clicked on Texmaker 4.5 for MacosxLion (64 bits) and opened the folder that is downloaded. It contains the application texmaker.

I double-clicked it and made a small MWE. If I want to compile it, it says

Could not start the command.
"pdflatex" -syntex=1 -interaction=nonstopmode %.tex


What should I do? Do I have to install LaTeX separately befor installing a compiler?

Update

I have installed LaTeX separately according to Monomeeth's answer below. Apparently, TexMaker 4.5 did not find them or it was not the correct version.

Next, I installed a version of MacTex manually according to this site, namely the 2016 version. Now TexMaker 4.5 is able to compile a file.
It's not 100% clear to me what you've actually tried, but give this a go:


Launch Terminal
Enter the following command:


ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" &lt; /dev/null 2&gt; /dev/null ; brew install caskroom/cask/brew-cask 2&gt; /dev/null


Press enter and wait while the command runs
When it's complete, enter: brew cask install texmaker


Let me know how you go.