Tonλ's blog May the λ be with you

How to install emacs 24

by @ardumont on

This article will show how to install rapidly emacs 24 on ubuntu based system (linuxmint 13/14 for example) from 11.10 to 12.10.

ubuntu based 12.10

It's now in the main repository so just:

sudo aptitude install emacs24

ubuntu based 11.10/12.04

Pre-requisites:

ubuntu 11.10/12.04

internet access

What will be installed?

emacs 24 with emacs-live

How to?

Install

Here are the scripts to download:

wget https://github.com/ardumont/sh/blob/master/deploy/deploy-emacs24.sh
chmod +x deploy-emacs24.sh && deploy-emacs24.sh

Start emacs

emacs

This will automatically search and install the asked packages (cf. next chapter for some more details).

Some more details

deploy

deploy-emacs24.sh
Content
#!/usr/bin/env bash

WDIR=$(dirname $(readlink -f $0))

$WDIR/add-apt-repository.sh ppa:cassou/emacs

$WDIR/install.sh emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot emacs24-el

# check for updates
sudo aptitude safe-upgrade -y

# check version
emacs --version
Details
  • Setup the script
  • Add the repository ppa:cassou/emacs
  • Install emacs 24
  • Check that the version is ok

Setup

Launch the installation process of a default setup that comes from the emacs-live page:

bash <(curl -fksSL https://raw.github.com/overtone/emacs-live/master/installer/install-emacs-live.sh)

Sources:

Latest posts