Last active
May 22, 2018 01:07
-
-
Save LeeiFrankJaw/7d674c8c36e5f02c7f4b69c0017d075c to your computer and use it in GitHub Desktop.
Install Emacs 25.3 on Ubuntu 16.04.3 LTS
This file contains 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
git clone -b master git://git.sv.gnu.org/emacs.git | |
cd emacs/ | |
git checkout emacs-25.3 | |
sudo apt install --no-install-recommends texinfo | |
sudo apt install libgtk-3-dev libxpm-dev libjpeg8-dev libgif-dev libtiff5-dev libtinfo-dev librsvg2-dev libmagickwand-dev libacl1-dev libgnutls-dev | |
# Note: if you have installed Anaconda python distribution, it will | |
# affect how linker find libjpeg8 dynamic library files. To resolve | |
# this, simply remove Anaconda directory from PATH variable. | |
# ./autogen.sh | |
# ./configure | |
make bootstrap | |
# if you wish to use clang to compile, use the following instead | |
# make CC=clang LDFLAGS='-fuse-ld=lld -rtlib=compiler-rt' bootstrap | |
make check | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obvious I guess but unless you 'cd emacs' sometime after line 2 and before line 10 then the make bootstrap and make check will fail.