Difference between revisions of "Installing Emacs on BSD"

From WikEmacs
Jump to navigation Jump to search
(brought freebsd article details here)
Line 4: Line 4:
  
 
=== Install ===
 
=== Install ===
 +
 +
==== Emacs 23 ====
 +
 +
To install the latest stable version of Emacs, with all the latest features, there are two approaches: using a pre built package or building from the ports.
 +
 +
To fetch and install the package run:
 +
 +
<source lang="text">
 +
 +
# pkg_add -r emacs
 +
 +
</source>
 +
 +
Or use the ports:
 +
 +
<source lang="text">
 +
 +
# cd /usr/ports/editors/emacs
 +
 +
# make install
 +
 +
</source>
 +
 +
==== Emacs 24 ====
  
 
To install the latest development version of Emacs, with all the latest features, there are two approaches: using a pre built package or building from the ports.
 
To install the latest development version of Emacs, with all the latest features, there are two approaches: using a pre built package or building from the ports.

Revision as of 13:26, 23 April 2012

Emacs is available among BSD variants including FreeBSD, NetBSD, OpenBSD and PC-BSD

FreeBSD

Install

Emacs 23

To install the latest stable version of Emacs, with all the latest features, there are two approaches: using a pre built package or building from the ports.

To fetch and install the package run:

# pkg_add -r emacs

Or use the ports:

# cd /usr/ports/editors/emacs

# make install

Emacs 24

To install the latest development version of Emacs, with all the latest features, there are two approaches: using a pre built package or building from the ports.

To fetch and install the package run:

# pkg_add -r emacs-devel

Or use the ports:

# cd /usr/ports/editors/emacs-devel

# make install

Related documentation

Using Emacs as a Development Environment from the official FreeBSD project documentation. Some of the config tweaks are a bit dated and might need updating. But overall it's a good starting point.


NetBSD

OpenBSD

PC-BSD