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

From WikEmacs
Jump to: navigation, search
(Created page with "== Installing == == Building Emacs == You can build Emacs from [https://github.com/emacsmirror/emacs source] on every distribution out there. Use this option only if your dis...")
 
(Emacs 24)
 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== Installing ==
+
Check if your distribution already provides an Emacs version of interest to you.
  
== Building Emacs ==
+
If you are interested in daily builds or latest binaries,  try building from [https://github.com/emacsmirror/emacs source] or try one of the following unofficial repositories based on your distribution.
You can build Emacs from [https://github.com/emacsmirror/emacs source] on every distribution out there. Use this option only if your distribution doesn't already provide an Emacs version of interest to you.
+
  
Very few distributions bundle Emacs snapshot builds. If your distribution does not have very latest builds, try the following unofficial repositories.
+
= Debian =
 +
 
 +
== Emacs 23 ==
  
== Debian ==
 
See [http://emacs.naquadah.org/ emacs-snapshot APT repo]. The page contains installation instructions. High quality, highly recommended builds! After adding the repo install with the following command:
 
 
<source lang="bash">
 
<source lang="bash">
$ sudo apt-get install emacs-snapshot
+
$ sudo apt-get install emacs
 
</source>
 
</source>
  
== Ubuntu ==
+
== 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:
 
<source lang="bash">
 
<source lang="bash">
$ sudo apt-add-repository ppa:cassou/emacs
 
 
$ sudo apt-get install emacs-snapshot
 
$ sudo apt-get install emacs-snapshot
 
</source>
 
</source>
  
== Gentoo ==
+
= Ubuntu =
 +
 
 +
== Emacs 23 ==
 +
 
 +
<source lang="bash">
 +
$ sudo apt-get install emacs
 +
</source>
 +
 
 +
== Emacs 24 ==
 +
 
 +
<tt>
 +
$ sudo apt-add-repository ppa:cassou/emacs
 +
</tt>
 +
 
 +
and then
 +
 
 +
<tt>
 +
$ sudo apt-get install emacs24
 +
</tt>
 +
 
 +
= Gentoo =
 
See [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
 
See [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
  
== 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]
  
== Slackware ==
+
= Slackware =
 
Compile and Install using [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild (unofficial)].
 
Compile and Install using [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild (unofficial)].
  
== 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:GNU/Linux]][[Category:Beginner]][[Category:Install Or Upgrade]]

Latest revision as of 21:04, 16 April 2013

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.