Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't upgrade Emacs from 24.3.1 to 24.5 in a CentOS 7 vm

I have a CentOS 7 Vagrant virtual machine that I'd like to do some development work from. Accordingly, I'd like the latest version of Emacs (24.5) so that I can install Spacemacs.

However, when I ssh into the box and run the command sudo yum update emacs and sudo yum upgrade emacs, I simply get back the message No packages marked for update. I've also run yum update and yum upgrade to no avail.

So how do I go about getting me some sweet sweet Emacs 24.5? Thanks.

like image 638
Kurt Mueller Avatar asked Sep 26 '22 04:09

Kurt Mueller


1 Answers

The latest RPM I could find for emacs on CentOS 7 (7.2) is 24.3.

You can install it via yum with the following code, after downloading the rpm:

yum localinstall emacs-24.3-18.el7.x86_64.rpm

If you want to compile it yourself, there is a Github repo with the source and instructions on how to do that.

They also have tagged releases if you prefer something a little more stable to choose from.

As of this post, the latest version they have available is emacs-25.0.92, with releases going back to the version you requested.

like image 129
Brian Brownton Avatar answered Oct 18 '22 04:10

Brian Brownton