Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem with the fonts when running emacs-21 through an ssh connection to a Centos 5 Linux, while my local system is a more modern Ubuntu 12.04.2.

I am not used to rpm systems and less so on systems with no admin rights. Any good tutotials on how to install my own copy of emacs 23 on this system?

uname -a
Linux xxx-xxxx-xxx 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep emacs\-2 
share|improve this question
compile it. ./configure --prefix "$HOME/local" --without-x; make; make install. – jordanm Mar 27 '13 at 17:57
You'll have to run it by ~/local/bin/emacs (or create an alias in your shell). BTW, you might run into trouble if development libraries aren't installed. Perhaps ask the friendly sysadmin to do a system-wide installation into /usr/local? – vonbrand Mar 27 '13 at 19:12
@jordanm: I've got have it compiled against X windows, since I want to be able to bring up an X window emacs session. – 719016 Mar 28 '13 at 7:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.