Skip to content

Instantly share code, notes, and snippets.

@nodupe
Last active January 6, 2021 12:49
Show Gist options
  • Save nodupe/22bdb1151692fa8db21c161108e7b1d2 to your computer and use it in GitHub Desktop.
Save nodupe/22bdb1151692fa8db21c161108e7b1d2 to your computer and use it in GitHub Desktop.
Compile and install latest stable emacs (27) on Pop OS 20.04
#!/bin/bash
git clone -b emacs-27 --depth=1 git://git.savannah.gnu.org/emacs.git
cd emacs
sudo apt build-dep emacs
./autogen.sh
./autogen.sh git
./configure
make && sudo make install
make clean
@nodupe
Copy link
Author

nodupe commented Jan 6, 2021

To avoid adding PPAs to the system I managed to have it installed via source code. This is vanilla emacs. Any configuration options for compilation time must be added on the script itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment