Skip to content

Instantly share code, notes, and snippets.

@R4wm
Last active February 19, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save R4wm/a74e2650f13b92989153f5deee396ba2 to your computer and use it in GitHub Desktop.
Save R4wm/a74e2650f13b92989153f5deee396ba2 to your computer and use it in GitHub Desktop.
installs emacs
#!/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