Installing Emacs on GNU/Linux

From WikEmacs
Revision as of 21:04, 16 April 2013 by 187.234.178.217 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Check if your distribution already provides an Emacs version of interest to you.

If you are interested in daily builds or latest binaries, try building from source or try one of the following unofficial repositories based on your distribution.

Debian[edit]

Emacs 23[edit]

$ sudo apt-get install emacs

Emacs 24[edit]

See emacs-snapshot APT repo. The page contains installation instructions. High quality, highly recommended builds! After adding the repo according to the instructions linked to above, install with the following command:

$ sudo apt-get install emacs-snapshot

Ubuntu[edit]

Emacs 23[edit]

$ sudo apt-get install emacs

Emacs 24[edit]

$ sudo apt-add-repository ppa:cassou/emacs

and then

$ sudo apt-get install emacs24

Gentoo[edit]

See Emacs on Gentoo page.

Arch Linux[edit]

Emacs 23[edit]

$ sudo pacman -S emacs

Emacs 24[edit]

See emacs-bzr package from AUR

Slackware[edit]

Compile and Install using emacs.SlackBuild (unofficial).

Fedora[edit]

Emacs 23[edit]

Available up to Fedora 16

$ sudo yum install emacs

Emacs 24[edit]

Available from Fedora 17+

$ sudo yum install emacs

SUsE[edit]

Emacs 23[edit]

Available in 12.1 and 12.2. Before that? not sure.

$ sudo zypper install emacs

Emacs 24[edit]

Not available till 12.2, but available from Factory repo. Add factory repo and then,

$ sudo zypper install emacs

Mandriva[edit]

No pre-built packages.