Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save binarytemple-clients/0a936a9eb81db558da9b to your computer and use it in GitHub Desktop.
Save binarytemple-clients/0a936a9eb81db558da9b to your computer and use it in GitHub Desktop.
install emacs-24.5 from source centos7
wget http://mirror.sdunix.com/gnu/emacs/emacs-24.5.tar.gz
tar zxvfp emacs-24.5.tar.gz
cd emacs-24.5/
./configure
sudo yum -y install libXpm-devel libjpeg-turbo-devel openjpeg-devel openjpeg2-devel turbojpeg-devel giflib-devel libtiff-devel gnutls-devel libxml2-devel GConf2-devel dbus-devel wxGTK-devel gtk3-devel
./configure
make
sudo make install
@swapab
Copy link

swapab commented Aug 5, 2016

Unreachable : http://mirror.sdunix.com/gnu/emacs/emacs-24.5.tar.gz
any alternative cdn?

@apmattil
Copy link

apmattil commented Sep 1, 2016

@swapab
Copy link

swapab commented Sep 20, 2016

Thanks @apmattil

$ sudo yum -y install libXpm-devel libjpeg-turbo-devel openjpeg-devel openjpeg2-devel turbojpeg-devel giflib-devel libtiff-devel gnutls-devel libxml2-devel GConf2-devel dbus-devel wxGTK-devel gtk3-devel
$ wget http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-25.1.tar.gz
$ tar zxvf emacs-25.1.tar.gz
$ cd emacs-25.1
$ ./autogen
$ ./configure --without-makeinfo # incase makeinfo is not available on your system: Example Centos 7 else `./configure` would do
$ sudo make install

## verify installation
$ which emacs
$ emacs --version
GNU Emacs 25.1.1

Note: Refer INSTALL.REPO

@tkimva
Copy link

tkimva commented Mar 4, 2017

@swapab Thanks, but line 5 is ./autogen.sh not ./autogen

@LeeRuns
Copy link

LeeRuns commented Jun 22, 2018

i just did this, and it is still showing version 24.3.1. Can you not have two versions of emacs installed at once?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment