EDIT: Being edited, for easier apt-get dependencies and ensuring gnutls.
Some notes on installing Emacs on various systems:
On GNU/Linux, well you might use your distro’s package manager, or, here’s an example of commands you might use on Ubuntu:
git clone git://git.savannah.gnu.org/emacs.git cd emacs ./autogen.sh ./configure make sudo make install
Typically when executing
configure, I get some some
build errors on a brand new instance of Ubuntu about missing tools. The
following set may help troubleshoot:
# sudo apt-get install \ # autoconf make gcc \ # texinfo libtinfo libxaw7-dev \ # libjpeg-dev libgif-dev libtiff5-dev \ # libxml2-dev # working on easier list, rough draft sudo apt-get install build-deps emacs24 # number required ./configure --with-x-toolkit=no --with-gnutls
You could also build from the git version, or there is also Macports, which is similar to Homebrew.
Another approach is Cygwin, if you want to go there. ;)