Changes

Jump to: navigation, search

Installing Emacs on BSD

333 bytes added, 21:32, 23 December 2012
Deleted a word accidentally left in in the last revision.
Emacs is available among on the BSD variants including FreeBSD, NetBSD, OpenBSD and PCeither through precompiled binary packages or user-BSDcompiled ports. Installation instructions vary according to exact OS.
== FreeBSD ==
=== Install === ==== Emacs 23 ==== To install the latest stable version most recent prebuilt binary package of Emacs, with all the latest features, there are two approaches: using a pre built package or building from (at the ports. To fetch and install the package runtime) most recent stable version:
<source lang="text">
</source>
Or use the portsto build from source:
<source lang="text">
# cd /usr/ports/editors/emacs # && make install
</source>
==== Developers may find "[http://www.freebsd.org/doc/en/books/developers-handbook/emacs.html Using Emacs 24 ====as a Development Environment]," from the official FreeBSD project documentation, a good starting point. Some of the config tweaks are a bit dated and might need updating. But overall it's a reference
To install the latest development version of Emacs, with all the latest features, there are two approaches== OpenBSD ==[http: using a pre built package or building from the ports//www.openbsd.org/faq/faq15.html#Easy Set <tt>PKG_PATH</tt>] to an appropriate mirror.
To fetch <source lang="text"># pkg_add -i emacs</source> <tt>pkg_add</tt> will prompt you for which version you want&mdash;currently, versions 21, 22, and install the package run:23 are available.
<source lang=You can also install from the ports tree; however, "textThe [OpenBSD] ports tree is meant for advanced users. Everyone is encouraged to use the pre-compiled binary packages.">(OpenBSD FAQ, [http://www.openbsd.org/faq/faq15.html#Ports section 15.3])
# pkg_add -r emacs-develNo premade port or package for Emacs 24 seems to be publicly available currently.
</source>== NetBSD, DragonFlyBSD, other pkgsrc systems ==
Or use the portsOn systems using [http://www.pkgsrc.org pkgsrc], something like
<source lang="text">
# cd /usr/portspkgsrc/editors/emacs-devel # && make install
</source>
=== Related documentation ===[http://wwwshould work.freebsd.org/doc/en/books/developers-handbook/emacs.html 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 == 
[[Category:FreeBSD]][[Category:Emacs-24]][[Category:Beginner]][[Category:Install Or Upgrade]]
Anonymous user

Navigation menu