It is a long time now that I have not touched any LaTeX. Why? Simply, because I did not have any opportunity to do that again after my Academic studies and research.
With an enormous pleasure, I am back. And, as a first step I had to install it on my MacBook Pro, a supposedly easy and straightforward task for a Linux enthusiast, right? Well, yes and no, and let me argument why.
Mac OS is a BSD-based operating system which unfortunately does not have any official package manager tool, like ‘yum’ on RedHat or ‘apt’ on Ubuntu. With a package manager, everything would be much easier, and maybe this post was not needed at all.
A quite standard tool used on Mac OS machines to install packages is Homebrew. Homebrew is written in Ruby; it provides an easy to use CLI (Command Line Interface) to deal with install/uninstall processes; it is stable, and does its job reasonably well. Unfortunately – again! – Homebrew is not enough to installing LaTeX on a Mac machine, Homebrew Cask is needed: it extends Homebrew just by adding 1 command which allows to a former ‘brew’ to reach 2593 Casks out there.
Hereafter, the installation process for Homebrew and Homebrew Cask.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"<code id="selectable"></code>
brew install caskroom/cask/brew-cask
Once installed Homebrew and Homebrew Cask, it is the time to move forward installing MacTeX and TexMaker, respectively the LaTeX compilation platform (i.e. compiler plus packages) and the rich text editor comprehensive of all the editing features. The process is straightforward and hereafter it is reported.
brew cask install mactex
brew cask install texmaker
Packages update is an important step to implement right after the installation. Shipped with MacTex there is Tex Live Utility (an interactive UI application for managing LaTeX packages and their installation/update/removal), via TeX Live the installed packages need to be updated before to concretely start working with the brand new LaTeX platform: updates are pulled out from the CTAN (Comprehensive TeX Archive Network) archives/repositories, so whatever official installed package will be taken into consideration for update. Once completed, a display like the below one will be presented.
To start writing your beautiful documents, you can use the previously installed TexMaker. A window like the below one will be displayed, where the LaTeX project and its files can be controlled: on the leftmost side, the project structure is displayed, on the rightmost side, the PDF rendering is presented, and in the center your LaTeX code. At least, this is the default organization.
Concluding, I found the process quite straightforward, by the way I thought that enlisting the steps like in a tutorial might help some of the folks out there attempting the same installation.