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. Jul 31, 2016 at 13:22
  • @Gilles I need to use it as an external editor and the application asks for its path.
    – Adam
    Aug 1, 2016 at 20:52
  • Why would anyone downvote this question? I mean really! I just ask a simple clear question!
    – Adam
    Aug 1, 2016 at 20:54

1 Answer 1


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, 2016 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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