Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

3 Answers 3

run:

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
add comment

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

Or follow the tip in your errormessage...

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.