Skip to content

Instantly share code, notes, and snippets.

@marcwebbie
Last active August 4, 2017 06:17
Show Gist options
  • Select an option

  • Save marcwebbie/27f637653fe038c530e7 to your computer and use it in GitHub Desktop.

Select an option

Save marcwebbie/27f637653fe038c530e7 to your computer and use it in GitHub Desktop.
Compile emacs 24 on Red Hat 6 workstations
cd /tmp
# install autoconf
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.bz2
tar xjvf autoconf-2.68.tar.bz2
cd autoconf-2.68/
./configure && make && sudo make install
cd ..
# install needed libraries
sudo yum install texinfo libXpm-devel giflib-devel libtiff-devel libotf-devel
# install emacs
git clone git://git.savannah.gnu.org/emacs.git
cd emacs
./autogen.sh
./configure --with-jpeg=no
make && sudo make install
# install cask for emacs config management
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
alias cask="~/.cask/bin/cask"
# install config
cd ~
git clone git://github.com/marcwebbie/emacs.git ~/.emacs.d
cd .emacs.d
./~/.cask/bin/cask
# Add env variables
alias es='/Applications/Emacs.app/Contents/MacOS/Emacs --daemon'
alias emacs='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c -n'
export EDITOR='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment