Created
April 6, 2019 18:32
-
-
Save andrwj/6585d727b279bd85eb16a3e2a1e2232c to your computer and use it in GitHub Desktop.
Manual Installation Emacs 26.1 on Ubuntu 16.04/18.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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