Results 1 to 2 of 2

Thread: Install emacs 24 on ubuntu 12.04

  1. #1
    Join Date
    Apr 2010
    Beans
    86

    Install emacs 24 on ubuntu 12.04

    Hi,

    I am trying to install emacs 24 on ubuntu 12.04.
    I am trying this after I did google:
    Code:
    sudo add-apt-repository ppa:cassou/emacs sudo apt-get update sudo apt-get install emacs-snapshot emacs-snapshot
    but I can't install due to unmet dependencies.
    Can you please tell em how can I fix it?

    Code:
    $ sudo apt-get install emacs-snapshot
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:
    
    The following packages have unmet dependencies:
     emacs-snapshot : Depends: emacs-snapshot-bin-common (= 2:20120524-1~ppa1~precise1) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  2. #2
    Join Date
    May 2006
    Beans
    86

    Re: Install emacs 24 on ubuntu 12.04

    I had a similar problem and finally installed from the tar.gz package

    As usual, download emacs-24.1-rc.tar.gz from here

    http://alpha.gnu.org/gnu/emacs/pretest/

    In a terminal window cd into the directory where this is downloaded

    Code:
    > sudo apt-get install xorg-dev
    Code:
    > sudo apt-get install libjpeg-dev libpng-dev libgif-dev libtiff-dev
    It will offer some variants - just say yes.

    Code:
    > sudo apt-get install libncurses-dev
    Code:
    > tar xvfz emacs-24.1-rc.tar.gz
    Code:
    > cd emacs-24.1
    Code:
    > ./configure
    Code:
    > make
    Code:
    >sudo make install
    Of course this method will not offer updates!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •