Skip to content

Instantly share code, notes, and snippets.

@andrwj
Created April 6, 2019 18:32
Show Gist options
  • Select an option

  • Save andrwj/6585d727b279bd85eb16a3e2a1e2232c to your computer and use it in GitHub Desktop.

Select an option

Save andrwj/6585d727b279bd85eb16a3e2a1e2232c to your computer and use it in GitHub Desktop.
Manual Installation Emacs 26.1 on Ubuntu 16.04/18.04
#!/bin/bash
# 1)
sudo apt install build-essential checkinstall
# 2) uncomment of src in /etc/apt/source.list
# 3) prepare pre-requisites for manual compilation
sudo apt-get build-dep emacs24
# 4) download specific version of emacs from http://ftp.gnu.org/gnu/emacs/
wget http://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.gz
# 5) extract & compile
tar xvfz emacs-26.1.tar.gz
cd emacs-26.1
./configure --prefix=/usr
make
# 6) make .deb file
sudo checkinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment