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

This is my first time using Ubuntu and I dont know how I should install a program on it. I tried using cd the directory where it is and then ./configure it but it is not working!

share|improve this question
Are you trying to compile it from the source? – thefourtheye May 19 '13 at 3:13

Consider using Damien Cassou's PPA:

To add this PPA:

sudo add-apt-repository ppa:cassou/emacs
sudo apt-get update

For emacs-snapshot:

sudo apt-get install emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot

Or, for emacs24 (i.e. 24.3, stable):

sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg


As mentioned in Damien Cassou's PPA, the repository will not be maintained further (currently features Emacs 24.3) and it is recommended to use the Ubuntu Elisp PPA.

Hence, use this to add the PPA:

sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot emacs-snapshot-el

Ref: Emacs guide

share|improve this answer
Note: currently there is an issue with the emacs-snapshot build - they haven't been updated since January since the emacs-snapshot Debian build is currently without a maintainer: see NEWS section of the PPA: – hayd Apr 28 '14 at 17:55

You'll probably be better off using the version of emacs already built, tested, and packaged by Ubuntu rather than building it on your own, unless you need specific features that are only available in 24.3.

In a terminal:

sudo apt-get install emacs
share|improve this answer
He is specifically mentioning 24.3. He has probably his reasons for that. – jeckyll2hide Feb 27 '14 at 18:23
We'll probably never know; this asker never logged back on to the site after posting this question back in May. It's also possible that she just thought she needed 24.3 and didn't, and she does say it's her first time using Ubuntu, so she may not have been aware of APT at the time. I was hoping we'd get a response from the asker if the standard, easy way of installing software was presented and didn't meet her needs. – Paul Feb 28 '14 at 12:50
@Paul But for future users coming to this question (like me), they are expecting answers that tell them how to install emacs 24.3. – user276355 May 2 '14 at 19:29

Building it from source is not bad because you can choose the version that you need and Emacs will work even faster, the trouble is finding and installing dependencies.

Commands to install Emacs 24.5 w/ dependencies:

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get build-dep emacs24
cd ~/Downloads
wget ""
tar xvzf emacs-24.*.tar.gz
cd emacs-24.*
./configure --without-x
sudo make install


share|improve this answer

I'm using Ubuntu 14 LTS - x64 and following command works for me ;

sudo apt-get install emacs24

For Daily Emacs build installation ;

sudo apt-add-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot emacs-snapshot-el

Reference : Emacs Guide

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.