Question says it all, emacs 27 doesn't seem to be available through apt-get on my ubuntu version nor PPAs. Does that mean I have to build it from source? Thank you.
22 Answers
Here's how I compiled it from source on Ubuntu 16.04 (there's also instructions in the Emacs documentation):
# sudo apt install --yes texinfo # sudo apt install --yes libxpm-dev libjpeg-dev libgif-dev libtiff-dev libgnutls28-dev git clone /tmp/emacs \ && cd /tmp/emacs \ && git checkout emacs-27 \ && ./autogen.sh && ./configure && make \ && mv ./src/emacs /usr/bin/emacs \ && rm -rf /tmp/emacs Also, if you want to use Doom Emacs, you'll also need:
# rg # curl -LO \ && sudo dpkg -i ripgrep_11.0.2_amd64.deb \ && rm ripgrep_11.0.2_amd64.deb # fd # curl -LO \ && sudo dpkg -i fd-musl_8.1.1_amd64.deb \ && rm fd-musl_8.1.1_amd64.deb git clone --depth 1 ~/.emacs.d ~/.emacs.d/bin/doom install 5snap install emacs --beta --classic 2