Skip to content

Instantly share code, notes, and snippets.

@thorvn
Last active November 30, 2019 00:12
Show Gist options
  • Save thorvn/daeb4ab3a6ff9cb7dec5603b9282d142 to your computer and use it in GitHub Desktop.
Save thorvn/daeb4ab3a6ff9cb7dec5603b9282d142 to your computer and use it in GitHub Desktop.
Install emacs 26.1 on Ubuntu 18.03

Emacs dependencies

sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev libxpm-dev automake autoconf

Build emacs

mkdir emacs
cd emacs
git init
git remote add origin https://github.com/emacs-mirror/emacs.git
git fetch --depth 1 origin emacs-26.1
git reset --hard FETCH_HEAD
sh autogen.sh
# Run configure
./configure --with-gnutls=no
# Run make
make
sudo make install
@baileywickham
Copy link

Why should you install without gnutls?

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