https://wikemacs.org/api.php?action=feedcontributions&user=205.144.227.1&feedformat=atomWikEmacs - User contributions [en]2024-03-29T10:54:42ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=Installing_Emacs_on_BSD&diff=3426Installing Emacs on BSD2012-10-12T16:10:34Z<p>205.144.227.1: </p>
<hr />
<div>Emacs is available among BSD variants including FreeBSD, NetBSD, OpenBSD and PC-BSD<br />
<br />
== FreeBSD ==<br />
<br />
=== Install ===<br />
<br />
==== Emacs 23 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs<br />
<br />
# make install<br />
<br />
</source><br />
<br />
==== Emacs 24 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs-devel<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs-devel<br />
<br />
# make install<br />
<br />
</source><br />
<br />
=== Related documentation ===<br />
[http://www.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.<br />
<br />
<br />
<br />
== NetBSD ==<br />
<br />
== OpenBSD ==<br />
After setting <tt>PKG_PATH</tt> to something appropriate (generally <tt>protocol://[http://www.openbsd.org/ftp.html mirrorsite]/pub/OpenBSD/`uname -r`/packages/`uname -m`/</tt>), execute as root or with sudo<br />
<br />
<source lang="text"><br />
# pkg_add -i emacs<br />
</source><br />
<br />
Using the <tt>-i</tt> (interactive) option tells <tt>pkg_add</tt> to prompt you for which version to install. Emacs 21, 22, and 23 are available in packages. <br />
<br />
You can also install from the ports tree, in <tt>editors/emacs21</tt>, <tt>editors/emacs22</tt>, or <tt>editors/emacs23</tt>; however, "The [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]) <br />
<br />
No premade port or package for Emacs 24 seems to be publicly available currently.<br />
<br />
== PC-BSD ==<br />
<br />
[[Category:FreeBSD]][[Category:Emacs-24]][[Category:Beginner]][[Category:Install Or Upgrade]]</div>205.144.227.1https://wikemacs.org/index.php?title=Installing_Emacs_on_BSD&diff=3425Installing Emacs on BSD2012-10-12T16:09:28Z<p>205.144.227.1: /* OpenBSD */</p>
<hr />
<div>Emacs is available among BSD variants including FreeBSD, NetBSD, OpenBSD and PC-BSD<br />
<br />
== FreeBSD ==<br />
<br />
=== Install ===<br />
<br />
==== Emacs 23 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs<br />
<br />
# make install<br />
<br />
</source><br />
<br />
==== Emacs 24 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs-devel<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs-devel<br />
<br />
# make install<br />
<br />
</source><br />
<br />
=== Related documentation ===<br />
[http://www.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.<br />
<br />
<br />
<br />
== NetBSD ==<br />
<br />
== OpenBSD ==<br />
After setting <tt>PKG_PATH</tt> to something appropriate (generally <tt>protocol://[http://www.openbsd.org/ftp.html mirrorsite]/pub/OpenBSD/`uname -r`/packages/`uname -m`/</tt>), execute as root or with sudo<br />
<br />
<source lang="text"><br />
# pkg_add -i emacs<br />
</source><br />
<br />
Using the <tt>-i</tt> (interactive) option tells <tt>pkg_add</tt> to prompt you for which version to install. Emacs 21, 22, and 23 are available in packages. <br />
<br />
You can also install from the ports tree, in <tt>editors/emacs21</tt>, <tt>editors/emacs22</tt>, or <tt>editors/emacs23</tt>; however, "The [OpenBSD] ports tree is meant for advanced users. Everyone is encouraged to use the pre-compiled binary packages."<ref>OpenBSD FAQ, [http://www.openbsd.org/faq/faq15.html#Ports section 15.3]</ref> <br />
<br />
No premade port or package for Emacs 24 seems to be publicly available currently.<br />
<br />
== PC-BSD ==<br />
<br />
<br />
[[Category:FreeBSD]][[Category:Emacs-24]][[Category:Beginner]][[Category:Install Or Upgrade]]</div>205.144.227.1https://wikemacs.org/index.php?title=Installing_Emacs_on_BSD&diff=3424Installing Emacs on BSD2012-10-12T15:58:39Z<p>205.144.227.1: /* OpenBSD */</p>
<hr />
<div>Emacs is available among BSD variants including FreeBSD, NetBSD, OpenBSD and PC-BSD<br />
<br />
== FreeBSD ==<br />
<br />
=== Install ===<br />
<br />
==== Emacs 23 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs<br />
<br />
# make install<br />
<br />
</source><br />
<br />
==== Emacs 24 ====<br />
<br />
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.<br />
<br />
To fetch and install the package run:<br />
<br />
<source lang="text"><br />
<br />
# pkg_add -r emacs-devel<br />
<br />
</source><br />
<br />
Or use the ports:<br />
<br />
<source lang="text"><br />
<br />
# cd /usr/ports/editors/emacs-devel<br />
<br />
# make install<br />
<br />
</source><br />
<br />
=== Related documentation ===<br />
[http://www.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.<br />
<br />
<br />
<br />
== NetBSD ==<br />
<br />
== OpenBSD ==<br />
After setting <tt>PKG_PATH</tt> to something appropriate (generally <tt>protocol://[http://www.openbsd.org/ftp.html mirrorsite]/pub/OpenBSD/`uname -r`/packages/`uname -m`/</tt>), execute as root or with sudo<br />
<br />
<source lang="text"><br />
# pkg_add -i emacs<br />
</source><br />
<br />
Using the <tt>-i</tt> (interactive) option tells <tt>pkg_add</tt> to prompt you for which version to install. Emacs 21, 22, and 23 are available in packages. To install from the ports tree, read <tt>ports(7)</tt> and look in <tt>editors/emacs21</tt>, <tt>editors/emacs22</tt>, or <tt>editors/emacs23</tt>.<br />
<br />
No premade port or package for Emacs 24 seems to be publicly available currently.<br />
<br />
== PC-BSD ==<br />
<br />
<br />
[[Category:FreeBSD]][[Category:Emacs-24]][[Category:Beginner]][[Category:Install Or Upgrade]]</div>205.144.227.1