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.

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
1  
Are you trying to compile it from the source? –  thefourtheye May 19 '13 at 3:13

3 Answers 3

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

Update

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
1  
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: launchpad.net/~cassou/+archive/emacs –  hayd Apr 28 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
6  
He is specifically mentioning 24.3. He has probably his reasons for that. –  jeckyll2hide Feb 27 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 at 12:50
4  
@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 at 19:29

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

 
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.