[Tex/LaTex] Installing the latest AUCTeX from within Emacs

auctexemacsmac

Emacs 24+ comes with a package manager (M-x list-packages). This allows the user to install (and upgrade packages) by simply pressing I on the selected packages, with Emacs pulling from the right repositories (mermelade, melpa, gnu, etc.).

I am able to find one entry for AUCTeX (see snapshot below), but it looks old (and it seems to be the one I have installed already):

    enter image description here

Can I install the latest version of AUCTeX in my system (OS X) using the package manager? If so how? and if not, would be a good way of doing it?

Best Answer

Just as with other dired-like modes, you have simply marked the package for install. To actually do the installation, press x within the package manager after you mark it.

You can also delete old packages with d, but the install should just replace any existing copies automatically.


To do the installation from Lisp, you can simply run

(package-install 'auctex)
Related Question