Last active
February 19, 2019 21:34
-
-
Save R4wm/a74e2650f13b92989153f5deee396ba2 to your computer and use it in GitHub Desktop.
installs emacs
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
#!/bin/bash | |
emacs_url='http://ftp.wayne.edu/gnu/emacs/emacs-25.3.tar.xz' | |
echo "Downloading tar from $emacs_url" | |
apt install libncurses5-dev/xenial -y | |
cd /tmp | |
curl -s "$emacs_url" -o emacs-25.3.tar.xz | |
tar -xvf emacs-25.3.tar.xz | |
cd emacs-25.3 | |
./configure | |
make | |
make install | |
cd ~ | |
rm .emacs.d/init.el | |
curl 'https://raw.githubusercontent.com/R4wm/.emacs.d/master/init.el' -o ~/.emacs.d/init.el | |
echo "OK Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment