How do I install emacs on my VPS?

  • Answered
Is there an easy way of installing the emacs editor on a VPS? (red hat RPMs for example.) I see vi is available, but it's such a steep learning curve, and I already know emacs so well.

If no best-practice exists, I'll go through the process of installing it locally, but I can already foresee it being a pain from being locked in my home directory.
Tim S.
Hi CacaoHoldings, Thanks for posting your question. I'm more than happy to assist you. While emacs is not installed by default, one of the best things about VPS hosting is that you can easily install it from the CLI. You'll need to install it using the yum repository. You can do this from the command line as the root user by running the following command:

yum install emacs

Since emacs is GUI based, when you run it from the command line, you'll want to use this command:

emacs -nw

This will tell emacs to run without a window or GUI. I hope this helps! If you do not have root access and want it please read our article: Gaining Root Access If you need further assistance please feel free to contact us. Thanks! Tim S