Last active
September 25, 2017 10:46
-
-
Save tangyl/138faf67eb6d35aeddb24682cf150d5f to your computer and use it in GitHub Desktop.
install emacs25 in ubuntu
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
#!/usr/bin/env | |
sudo apt-get install build-essential wget libncurses-dev | |
wget http://mirrors.ibiblio.org/gnu/ftp/gnu/emacs/emacs-25.3.tar.gz -O /tmp/emacs-25.3.tar.gz | |
cd /tmp | |
tar -zxvf emacs-25.3.tar.gz | |
cd emacs-25.3 | |
./configure --with-x=no | |
make -j 8 | |
sudo make install | |
rm -rf /tmp/emacs-25.3 | |
rm -f /tmp/emacs-25.3.tar.gz | |
wget https://gist.githubusercontent.com/tangyl/7128abdbba187457dfc44dc82744c419/raw/a4d6830318014bfe590a1eb06bbe1f9aa4602c2c/.emacs -O ~/.emacs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment