• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Mikey Boldt

What am I doing?

  • Home
  • About Mikey
  • Contact

Install Emacs 24 in Ubuntu

November 30, 2011 by 16 Comments

[2012-07-19] Update: Please see Damien Cassou’s comment describing his emacs snapshot PPA moving forward.

After reading several good things about emacs 24, I decided to give it a shot. A little googling led me to Damien Cassou’s emacs snapshot PPA. Simply ran the following:

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

Everything works great so far, specifically email in mew, chatting with jabber.el, my org files, and org2blog/wp. Played with the built-in ELPA package manager a little, and I really thing it will be nice to avoid manual package management.

Haven’t decided if/how often I’ll update my snapshot. Maybe until emacs 24 comes out in the Canonical packages? But then will I want to stay on the bleeding edge? Thoughts/suggestions/experiences?

Filed Under: Tech Tagged With: emacs, ubuntu

Reader Interactions

Comments

  1. Hoang Tran says

    December 5, 2011 at 1:18 am

    It works for me. Thanks!

    Reply
  2. Boris Rusev says

    January 21, 2012 at 5:55 am

    Thank you very much sir, it worked perfectly for me 🙂

    Reply
  3. Dave says

    March 29, 2012 at 6:00 pm

    In Kubuntu 12.04 I’m getting this error when I call emacs via emacs-snapshot from the command line.

    LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)’ failed

    Reply
  4. Mikey Boldt says

    April 17, 2012 at 4:38 pm

    @Dave: Without knowing anything else, per a couple launchpad bugs 1 2 that message is “overly loud” and might not be the true cause of the problem. I do see messages like:

    Gtk-WARNING **: Failed to load type module: (null)
    undefined symbol: menu_proxy_module_load

    but emacs seems to run fine for me.

    Reply
  5. Jason John Wells says

    April 28, 2012 at 12:58 am

    Thank you very mush sir. I am excited about running Emacs 24 in Ubuntu 12.04. Unity is much improved and it is so snappy with only 2 GB RAM in Virtualbox.

    Reply
  6. CV Radhakrishnan says

    May 31, 2012 at 10:35 am

    I just installed Ubuntu 12.04 and Emacs 24. Both work fine.

    Reply
  7. Damien Cassou says

    July 19, 2012 at 9:51 am

    My PPA now has both emacs24 and emacs-snapshot:

    – emacs24 will be updated only when I change the build process or when new emacs24 are realeased

    – emacs-snapshot are updated between once a week or once every two weeks on average.

    Enjoy

    Reply
    • Mikey Boldt says

      July 19, 2012 at 10:02 am

      Thank you for the update, and of course for providing this PPA!

      Reply
  8. mojo706 says

    August 27, 2012 at 4:56 am

    Thanks it works fine any tutorials or tips?

    Reply
  9. Andrew Pennebaker says

    March 9, 2013 at 12:48 pm

    I added the ppa and ran “apt-get update”.

    apt-get can’t find “emacs24”, but it can find “emacs-snapshot”.

    Reply
    • Mikey Boldt says

      March 10, 2013 at 5:20 pm

      You could try the instructions at the PPA page for getting a clean install:

      $ sudo apt-get update
      $ sudo apt-get install
      $ sudo apt-get purge emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid auctex emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg

      Reply
  10. Samuel M says

    April 13, 2013 at 9:16 pm

    I managed to install it (GNU Emacs 24.3.50.1) and it works fine except the emacsclient won’t lock to the Ubuntu unity launcher. Whenever I reopen a new script or program file with emacs, another emacs client or “thumb-nail” appears on the unity bar.

    Is anyone else having this problem?

    Reply
    • Samuel M says

      April 14, 2013 at 12:45 am

      Alright I just fixed it. The directions to the solution is shown in the link. http://askubuntu.com/questions/41539/how-can-i-make-running-emacsclient-from-the-unity-launcher-reuse-an-existing-ema?rq=1

      Reply
  11. xpt says

    May 5, 2013 at 3:17 pm

    Thanks for building it the traditional way.
    I hate that my 10+ years of emacs color configuration was broken since Ubuntu 12.04 (https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1078116), and nobody cares to fix it.

    Thanks

    Reply

Trackbacks

  1. Unable to install Emacs 24 from ppa:cassou/emacs | WyldePlayground.netWyldePlayground.net - says:
    August 23, 2013 at 6:39 am

    […] I followed the following instructions to install Emacs 24 on my machine (borrowed from: https://www.mikeyboldt.com/2011/11/30/install-emacs-24-in-ubuntu/): […]

    Reply
  2. Unable to install Emacs 24 from ppa:cassou/emacs | Ubuntu InfoUbuntu Info says:
    August 23, 2013 at 6:42 am

    […] I followed the following instructions to install Emacs 24 on my machine (borrowed from: https://www.mikeyboldt.com/2011/11/30/install-emacs-24-in-ubuntu/): […]

    Reply

Leave a Reply to Hoang Tran Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Recover from Blank Screen After Unplugging External Display in XFCE
  • Remove a Key Binding From Emacs Mode
  • Disable Bluetooth on Ubuntu Startup
  • Geequie: Cull Photos on Linux
  • Sync PDFs with Android using Dropsync

Recent Comments

  • Ricardo Orbegozo on Linking to MS Office File in Emacs Org Mode
  • eliaso on Linking to MS Office File in Emacs Org Mode
  • Joao Brito on Linking to MS Office File in Emacs Org Mode
  • Unable to install Emacs 24 from ppa:cassou/emacs | Ubuntu InfoUbuntu Info on Install Emacs 24 in Ubuntu
  • Unable to install Emacs 24 from ppa:cassou/emacs | WyldePlayground.netWyldePlayground.net - on Install Emacs 24 in Ubuntu

Copyright © 2025 · Mikey Boldt Theme on Genesis Framework · WordPress · Log in