Skip to content

Instantly share code, notes, and snippets.

@markbil
Forked from ivan-loh/compile-install-emacs.sh
Created January 14, 2021 11:40
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Compile and install emacs 27.1 for Ubuntu
#!/bin/bash
sudo apt install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev libgnutls28-dev
wget http://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.gz
tar xvzf emacs-27.1.tar.gz
cd emacs-27.1
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment