The heavy lifting for this recipe was taken from a post by Chris Perkins (thanks Chris!).
Install the Prereqs
1 sudo apt-get install autoconf automake texinfo libgtk2.0-dev libxpm-dev libjpeg-dev libgif-dev libtiff4-dev libncurses5 libncurses5-dev
Clone emacs repo (into /tmp in my example). This takes a while - emacs is surpisingly big!
1 2 3 cd /tmp git clone https://github.com/emacsmirror/emacs.git cd ./emacs
Pretty standard build process. All the compilations can take a while.
1 2 3 4 5 make distclean ./autogen.sh ./configure make sudo make install
1 emacs -Q
Just remains to learn how to use it properly …