Difference between revisions of "El-get"

From WikEmacs
Jump to navigation Jump to search
(installation)
Line 10: Line 10:
  
 
'''el-get''' is a popular package manager for [[Emacs]] written by
 
'''el-get''' is a popular package manager for [[Emacs]] written by
[[Dimitri Fontaine]]. '''El-get''' support many different back ends. The
+
[[Dimitri Fontaine]]. '''El-get''' supports many different back ends. The
 
differs with other package managers by not having a central repository
 
differs with other package managers by not having a central repository
 
for the archival of packages. Instead it uses recipe files which are
 
for the archival of packages. Instead it uses recipe files which are
Line 16: Line 16:
  
 
= Installation =
 
= Installation =
 +
 +
Add the following into your ~/.emacs :
 +
 +
<source lang="scheme">
 +
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
 +
 +
(unless (require 'el-get nil t)
 +
  (url-retrieve
 +
  "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
 +
  (lambda (s)
 +
    (end-of-buffer)
 +
    (eval-print-last-sexp))))
 +
</source>
 +
and execute it : ''M-x eval-current-buffer''.
 +
This code will check if el-get is already installed, and if not will do so through git (so you need git : ''apt-get install git'').
 +
  
 
= Basic Setup =
 
= Basic Setup =
Line 22: Line 38:
  
 
== See also ==
 
== See also ==
[[package.el]]
+
[[package.el]] aka ELPA, the Emacs Lisp Package Archive.
  
 
[[Category:Package Manager]]
 
[[Category:Package Manager]]
 
[[Category:Third Party Package]]
 
[[Category:Third Party Package]]
 
[[Category:Popular Package]]
 
[[Category:Popular Package]]

Revision as of 16:41, 8 August 2012

el-get
Description Package Manager
Author name of author
Maintainer Dimitri Fontaine
Source https://github.com/dimitri/el-get
Part of Emacs no

el-get is a popular package manager for Emacs written by Dimitri Fontaine. El-get supports many different back ends. The differs with other package managers by not having a central repository for the archival of packages. Instead it uses recipe files which are simply contains pointers to the sources and installation methods.

Installation

Add the following into your ~/.emacs :

(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil t)
  (url-retrieve
   "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
   (lambda (s)
     (end-of-buffer)
     (eval-print-last-sexp))))

and execute it : M-x eval-current-buffer. This code will check if el-get is already installed, and if not will do so through git (so you need git : apt-get install git).


Basic Setup

Useful Functions

See also

package.el aka ELPA, the Emacs Lisp Package Archive.