Difference between revisions of "Installing Emacs on GNU/Linux"

From WikEmacs
Jump to navigation Jump to search
m (moved GNU/Linux to Installing Emacs on GNU/Linux: clearer name)
m (→‎Ubuntu: reformat commands)
(16 intermediate revisions by 10 users not shown)
Line 4: Line 4:
  
 
= Debian =
 
= Debian =
 +
 +
== Emacs 23 ==
 +
 +
<source lang="bash">
 +
$ sudo apt-get install emacs
 +
</source>
 +
 +
== Emacs 24 ==
 
See [http://emacs.naquadah.org/ 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:
 
See [http://emacs.naquadah.org/ 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:
 
<source lang="bash">
 
<source lang="bash">
Line 10: Line 18:
  
 
= Ubuntu =
 
= Ubuntu =
 +
 +
== Emacs 23 ==
 +
 
<source lang="bash">
 
<source lang="bash">
 +
$ sudo apt-get install emacs
 +
</source>
 +
 +
== Emacs 24 ==
 +
The following PPA is no longer maintained and currently features Emacs 24.3.
 +
 +
<source lang="bash">
 
$ sudo apt-add-repository ppa:cassou/emacs
 
$ sudo apt-add-repository ppa:cassou/emacs
$ sudo apt-get install emacs-snapshot
+
 
 +
$ sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg
 +
</source>
 +
 
 +
== Emacs Daily ==
 +
 
 +
<source lang="bash">
 +
$ sudo apt-add-repository ppa:ubuntu-elisp/ppa
 +
 
 +
$ sudo apt-get install emacs-snapshot emacs-snapshot-gtk emacs-snapshot-el
 
</source>
 
</source>
  
Line 19: Line 46:
  
 
= Arch Linux =
 
= Arch Linux =
 +
 +
== Emacs 23 ==
 +
 +
<source lang="bash">
 +
$ sudo pacman -S emacs
 +
</source>
 +
 +
== Emacs 24 ==
 +
 
See  [http://aur.archlinux.org/packages.php?ID=33337 emacs-bzr] package from [http://aur.archlinux.org/index.php AUR]
 
See  [http://aur.archlinux.org/packages.php?ID=33337 emacs-bzr] package from [http://aur.archlinux.org/index.php AUR]
  
Line 25: Line 61:
  
 
= Fedora =
 
= Fedora =
No pre-built packages.
 
  
= SusE =
+
== Emacs 23 ==
No pre-built packages.
+
Available up to Fedora 16
 +
<source lang="bash">
 +
$ sudo yum install emacs
 +
</source>
 +
 
 +
== Emacs 24 ==
 +
Available from Fedora 17+
 +
<source lang="bash">
 +
$ sudo yum install emacs
 +
</source>
 +
 
 +
= SUsE =
 +
 
 +
== Emacs 23 ==
 +
 
 +
Available in 12.1 and 12.2. Before that? not sure.
 +
 
 +
<source lang="bash">
 +
$ sudo zypper install emacs
 +
</source>
 +
 
 +
== Emacs 24 ==
 +
 
 +
Not available till 12.2, but available from Factory repo. Add factory repo and then,
 +
 
 +
<source lang="bash">
 +
$ sudo zypper install emacs
 +
</source>
  
 
= Mandriva =
 
= Mandriva =
 
No pre-built packages.
 
No pre-built packages.
  
[[Category:GNU/Linux]][[Category:Emacs-24.1]][[Category:Beginner]][[Category:Install Or Upgrade]]
+
[[Category:GNU/Linux]][[Category:Beginner]][[Category:Install Or Upgrade]]

Revision as of 03:58, 23 October 2014

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

Emacs 23

$ sudo apt-get install emacs

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

Ubuntu

Emacs 23

$ sudo apt-get install emacs

Emacs 24

The following PPA is no longer maintained and currently features Emacs 24.3.

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

$ sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg

Emacs Daily

$ sudo apt-add-repository ppa:ubuntu-elisp/ppa

$ sudo apt-get install emacs-snapshot emacs-snapshot-gtk emacs-snapshot-el

Gentoo

See Emacs on Gentoo page.

Arch Linux

Emacs 23

$ sudo pacman -S emacs

Emacs 24

See emacs-bzr package from AUR

Slackware

Compile and Install using emacs.SlackBuild (unofficial).

Fedora

Emacs 23

Available up to Fedora 16

$ sudo yum install emacs

Emacs 24

Available from Fedora 17+

$ sudo yum install emacs

SUsE

Emacs 23

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

$ sudo zypper install emacs

Emacs 24

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

$ sudo zypper install emacs

Mandriva

No pre-built packages.