views:

34

answers:

1

I can't find the emacs package to install on debian. My /etc/apt/sources.list looks like: here

I am using apt-cache search [emacs*+] . I get a list of packages which depend on emacs, but not emacs itself. Any thoughts? I installed the Debian base system only.

+1  A: 

First of all [emacs*+] doesn't make sense. Second, add more apt repositories. Just search for emacs, emacs*+ is equivalent to an apt-cache search with emac.

Mine shows more than 300 entries matching emacs:

 # Correct search
 $ apt-cache search emacs | wc -l
 330

 # Wrong
 $ apt-cache search emacs*+ | wc -l
 333
OTZ
Which apt repos should I add, I only want to use stable packages.
b.j.g
Try to execute `sudo apt-get update` and try apt-cache as I suggested first.
OTZ
ran apt-get update, and now emacs shows up. Thanks for your help.
b.j.g
@bjg happy coding with emacs ;)
OTZ