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:
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:
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. ;)