Installing Emacs on GNU/Linux

Installing Emacs on GNU/Linux

 
 

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.

Contents

 [hide

[edit]Debian

[edit]Emacs 23

$ sudo apt-get install emacs

[edit]Emacs 24

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

[edit]Ubuntu

[edit]Emacs 23

$ sudo apt-get install emacs

[edit]Emacs 24

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

and then

$ sudo apt-get install emacs24

[edit]Gentoo

See Emacs on Gentoo page.

[edit]Arch Linux

[edit]Emacs 23

$ sudo pacman -S emacs

[edit]Emacs 24

See emacs-bzr package from AUR

[edit]Slackware

Compile and Install using emacs.SlackBuild (unofficial).

[edit]Fedora

[edit]Emacs 23

Available up to Fedora 16

$ sudo yum install emacs

[edit]Emacs 24

Available from Fedora 17+

$ sudo yum install emacs

[edit]SUsE

[edit]Emacs 23

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

$ sudo zypper install emacs

[edit]Emacs 24

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

$ sudo zypper install emacs

[edit]Mandriva

No pre-built packages.

猜你喜欢

转载自xialluyouyue.iteye.com/blog/1989894