Option 1 for installing Emacs24 on Crunchbang Linux
This is the standard procedure for downloading Emacs24 on Crunchbang/Debian:
1 2 3 4 5 6
Where emacs-snapshot is the equivalent of emacs24. wget retrieves files using HTTP/FTP transfer protocol (ie: download stuff from the web), but you need an authentication key first, hence the apt-key command. You need to do another authentication step by adding the website links to your “trusted sources” list. Geany is built-in to Crunchbang, so use it to open up your sources.list file and add the two sources starting with
If this installation process works on the first try, then my hat off to you! If not, read on.
The Dependency Problem
So I assume you’ve encountered the following error message:
1 2 3 4 5
Aww Crunchbang, why you gotta be like that?
To solve this problem, you need to manually install the missing depends. They are not available separately, but are bundled in two different debian packages, “Wheezy” (
deb http://ftp.de.debian.org/debian wheezy main) or “Sid” (
deb http://ftp.de.debian.org/debian sid main). From what I’ve read on the forums, most Crunchbang users download the “Sid” package immediately after startup, so that might be the best choice.
Add your dependencies to your source list
Go back to your sources.list with the command
And add either one of the links above so your sources list has these three links listed:
1 2 3
Now you can do
sudo apt-get update followed by
sudo apt-get install emacs-snapshot Go ahead and create a new .emacs file with the command
emacs .emacs and add this line so you don’t have to see that ugly splashpage for another second.
1 2 3 4
I…I just don’t like using the trackpad any more than I have to.