I am trying to run a r markdown file but got an error message
"! LaTeX Error: File `titling.sty' not found."
From googling around, the internet is telling me to do this in the terminal:
sudo apt-get install texlive-latex-extra
Tried that and got:
apt-get: command not found
More googling around told me to install hombrew, which I already have. Nevertheless I uninstalled and re-installed homebrew but same error was shown afterwards.
I found anoter post that told me to do this:
brew install wget
That installed correctly.
But then when I run sudo apt-get install texlive-latex-extra
again I get the same apt-get not found message.
I'm on Osx 10.9