Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 am trying Linux again after many years, and I have installed Ubuntu 12.10. I have downloaded the full GNU Emacs24 package, but I cannot get it to launch a text editor.

Can someone tell me what I have to do to get it to launch?

I keep getting:

emacs ~/test.txt
The program 'emacs' can be found in the following packages:
 * emacs23
 * emacs23-nox
 * emacs24
 * emacs24-nox
 * e3
 * emacs23-lucid
 * emacs24-lucid
 * jove
Try: sudo apt-get install <selected package>

Any help is appreciated.

share|improve this question
up vote 6 down vote accepted


sudo apt-get install emacs24

enter your password (as you type it, there's no feedback, I'm sure you remember ;)), press enter.

when its done

emacs your_filename.ext

should work just fine

share|improve this answer
Yes, this works. Apparently emacs is not installed yet if you get this error. OP should select your answer. – fredsbend Mar 11 '13 at 2:26

Type emacs in the terminal then press tab it will fill in emacs24...

Or follow the tip in your errormessage...

share|improve this answer

Like the message says, emacs can be found in one of those packages. Pick one.

emacs24 (which means version 24) is probably what you want.

share|improve this answer

Your Answer


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

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