Skip to content

Instantly share code, notes, and snippets.

@RhubarbSin
Last active May 1, 2022 16:25
Show Gist options
  • Save RhubarbSin/2962cf252388d972ffb729285227a6c3 to your computer and use it in GitHub Desktop.
Save RhubarbSin/2962cf252388d972ffb729285227a6c3 to your computer and use it in GitHub Desktop.
Compile Emacs 28.1 on Amazon Linux 2022
sudo dnf -y install '@Development Tools' cmake gnutls-devel libgccjit-devel ncurses-devel wget
wget https://ftpmirror.gnu.org/emacs/emacs-28.1.tar.gz https://ftpmirror.gnu.org/emacs/emacs-28.1.tar.gz.sig
gpg --keyserver keyserver.ubuntu.com --recv-keys 17E90D521672C04631B1183EE78DAE0F3115E06B
gpg --verify emacs-28.1.tar.gz.sig
tar zxf emacs-28.1.tar.gz
cd emacs-28.1
./configure --with-native-compilation
make
src/emacs -Q
src/emacs --debug-init --chdir ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment