Where is Emacs installed by default on Ubuntu? I need to find its path so I can use it on another application. I am using Ubuntu 14.04 and Emacs 24.

  • No, you don't need to find its path, and you should not do it. If you want to invoke Emacs from another application, just run the command emacs. That will run Emacs, wherever it's installed. The way to run an application is through the PATH variable, and typing a command without any directory name looks it up via this variable. Let this happen, otherwise your application won't work correctly if someone has installed a different version of Emacs in a different location. – Gilles 'SO- stop being evil' Jul 31 '16 at 13:22
  • @Gilles I need to use it as an external editor and the application asks for its path. – Adam Aug 1 '16 at 20:52
  • Why would anyone downvote this question? I mean really! I just ask a simple clear question! – Adam Aug 1 '16 at 20:54

Executing the command which emacs in your terminal should tell you where it is installed.

  • Thanks. Just edit your question and include that this is a terminal command not one that should be used in Emacs. – Adam Jul 30 '16 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.