This is for the console only (no graphical xwindows) version. Installs into /opt/emacs253 so can run side-by-side with system emacs.
-
# Download emacs tarball & untar
-
./configure --prefix=/opt/emacs253 --with-gif=no --with-tiff=no --with-x-toolkit=no \ --with-xpm=no --with-jpeg=no --with-png=no
-
# install any dependencies & build make make DESTDIR=/tmp/emacs install
-
# Install fpm (gem install fpm) to build package fpm -s dir -t rpm -C /tmp/emacs --name emacs25 --version 25.3 --iteration 1 --description "emacs 25.3"
-
rm -rf /tmp/emacs