version 1.111, 2019/06/12 20:57:16 |
version 1.112, 2019/06/13 05:33:57 |
|
|
src.tar.gz contains a source archive starting at /usr/src. This file |
src.tar.gz contains a source archive starting at /usr/src. This file |
contains everything you need except for the kernel sources, which are |
contains everything you need except for the kernel sources, which are |
in a separate archive. To extract: |
in a separate archive. To extract: |
<p> |
|
<blockquote><pre> |
<blockquote><pre> |
# <kbd>mkdir -p /usr/src</kbd> |
# <kbd>mkdir -p /usr/src</kbd> |
# <kbd>cd /usr/src</kbd> |
# <kbd>cd /usr/src</kbd> |
|
|
sys.tar.gz contains a source archive starting at /usr/src/sys. |
sys.tar.gz contains a source archive starting at /usr/src/sys. |
This file contains all the kernel sources you need to rebuild kernels. |
This file contains all the kernel sources you need to rebuild kernels. |
To extract: |
To extract: |
<p> |
|
<blockquote><pre> |
<blockquote><pre> |
# <kbd>mkdir -p /usr/src/sys</kbd> |
# <kbd>mkdir -p /usr/src/sys</kbd> |
# <kbd>cd /usr/src</kbd> |
# <kbd>cd /usr/src</kbd> |
|
|
<h3>Ports Tree</h3> |
<h3>Ports Tree</h3> |
<p> |
<p> |
A ports tree archive is also provided. To extract: |
A ports tree archive is also provided. To extract: |
<p> |
|
<blockquote><pre> |
<blockquote><pre> |
# <kbd>cd /usr</kbd> |
# <kbd>cd /usr</kbd> |
# <kbd>tar xvfz /tmp/ports.tar.gz</kbd> |
# <kbd>tar xvfz /tmp/ports.tar.gz</kbd> |
|
|
OpenBSD ports system. |
OpenBSD ports system. |
<p> |
<p> |
The <i>ports/</i> directory represents a CVS (see the manpage for |
The <i>ports/</i> directory represents a CVS (see the manpage for |
<a href="https://man.openbsd.org/i386/cvs.1"> |
<a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if |
cvs(1)</a> if |
|
you aren't familiar with CVS) checkout of our ports. As with our complete |
you aren't familiar with CVS) checkout of our ports. As with our complete |
source tree, our ports tree is available via |
source tree, our ports tree is available via |
<a href="anoncvs.html">AnonCVS</a>. |
<a href="anoncvs.html">AnonCVS</a>. |
So, in order to keep up to date with the -stable branch, you must make |
So, in order to keep up to date with the -stable branch, you must make |
the <i>ports/</i> tree available on a read-write medium and update the tree |
the <i>ports/</i> tree available on a read-write medium and update the tree |
with a command like: |
with a command like: |
<p> |
|
<blockquote><pre> |
<blockquote><pre> |
# <kbd>cd /usr/ports</kbd> |
# <kbd>cd /usr/ports</kbd> |
# <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_7</kbd> |
# <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_7</kbd> |