[Tex/LaTex] After El Capitan update, unable to install LateX using MacTex package installer

mac

After updating my Mac to El Capitan my Latex was unable to build any new documents. I tried this method however I was unable to fix the issue. So I deleted Latex off my Mac using AppCleaner and downloaded mactex-20150613 from tug.org/mactex/

Now I fail to even install Latex on my computer using the downloaded package installer. Error Message: "The installation failed.
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
"

Error message

ALso texlive seems to be there in /usr/local. In texlive: 2014, texmf-local (2 folders)

Best Answer

I experienced same/similar problem and initially (erroneously) put it down to the OS X El Capitan change to root.

Comments above on corrupted downloads reminded me that the MacTeX site strongly recommended download with Safari. A warning I ignored at my peril, because downloads on OS X via Chrome produced files with wrong checksums! Proof below...

$ md5 mactex-20150613.pkg 
MD5 (mactex-20150613.pkg) = 6aa62533c5aa0bc3d25b166cd67741fb

Whereas the stated package checksum for the MacTeX package [14 June 2015] should be

= bf579a512d31253d828591fdb3644dca

Finally, a version downloaded via Safari yielded the following...

$ md5 mactex-20150613.pkg 
MD5 (mactex-20150613.pkg) = bf579a512d31253d828591fdb3644dca

Lesson learned "do do do run the MD5 file checksum"