Where is the yum repository for emacs 23 for CentOS 5.5?

I want to update my emacs on CentOS 5.5 to 23 but I can’t find any rpms or yum repos that have it?

Answer

I spent quite a bit of time trying to build emacs on RHEL5.7, to no avail.
Then, back to the google, and
I found a repo with emacs23 RPMs for CentOS/RHEL 5.x.

http://puias.princeton.edu/data/puias/unsupported/5.7/x86_64/

To use it, use the bundled emacs21 to create a text file in /etc/yum.repos.d/puias-unsupported.repo .
It should have these contents:

[puias-unsupported]
name=PUIAS Unsupported $releasever
baseurl=http://puias.princeton.edu/data/puias/unsupported/5/$basearch/
enabled=0
gpgcheck=0

Then, use it like this:

sudo yum –disablerepo=”*” –enablerepo=puias-unsupported install emacs23

The RPMs are:

If you install it this way, it will be placed into /usr/emacs23/ . It does not replace the existing emacs21.

There is also a nox version of emacs23 in that repo. And a bunch of other stuff.

Additionally, to make it work correctly and prevent warnings, I did the following:

cd /usr/share/emacs/

ln -s /usr/emacs23/share/emacs/23.2

mkdir 23.2/leim

mkdir -p /usr/libexec/emacs/23.2/x86_64-redhat-linux-gnu

Attribution
Source : Link , Question Author : Community , Answer Author : Community

Leave a Comment