Skip to content

Instantly share code, notes, and snippets.

@1buran
Last active July 12, 2016 05:55
Show Gist options
  • Select an option

  • Save 1buran/8503e0acb6ea34522424653a819e10b5 to your computer and use it in GitHub Desktop.

Select an option

Save 1buran/8503e0acb6ea34522424653a819e10b5 to your computer and use it in GitHub Desktop.
Build Emacs 24.5
apt-get update
apt-get install -y build-essential libgtk-3-dev libinotifytools0-dev libx11-dev xaw3dg-dev \
libjpeg-dev libpng12-dev libgif-dev libtiff4-dev libncurses5-dev \
libxft-dev librsvg2-dev libmagickcore-dev libmagick++-dev \
libxml2-dev libgpm-dev libghc-gconf-dev libotf-dev libm17n-dev \
libgnutls-dev wget
cd /usr/local/src && wget http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz
tar xvf emacs-24.5.tar.xz && cd emacs-24.5
mkdir /opt/emacs-24.5
./configure --prefix=/opt/emacs-24.5 --with-xft --with-x-toolkit=gtk3 --disable-acl --without-selinux --with-file-notification=inotify
make && make install && strip /opt/emacs-24.5/bin/emacs-24.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment