version 1.107, 2019/06/13 05:51:38 |
version 1.108, 2019/06/13 06:16:25 |
|
|
This file contains everything you need except for the kernel sources, |
This file contains everything you need except for the kernel sources, |
which are in a separate archive. |
which are in a separate archive. |
To extract: |
To extract: |
|
|
<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> |
# <kbd>tar xvfz /tmp/src.tar.gz</kbd> |
# <kbd>tar xvfz /tmp/src.tar.gz</kbd> |
</pre></blockquote> |
</pre></blockquote> |
|
|
<p> |
<p> |
<code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>. |
<code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>. |
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: |
|
|
<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> |
# <kbd>tar xvfz /tmp/sys.tar.gz</kbd> |
# <kbd>tar xvfz /tmp/sys.tar.gz</kbd> |
</pre></blockquote> |
</pre></blockquote> |
|
|
<p> |
<p> |
Both of these trees are a regular CVS checkout. Using these trees it |
Both of these trees are a regular CVS checkout. Using these trees it |
is possible to get a head-start on using the anoncvs servers as |
is possible to get a head-start on using the anoncvs servers as |
|
|
<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: |
|
|
<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> |
</pre></blockquote> |
</pre></blockquote> |
|
|
<p> |
<p> |
Go read the <a href="faq/ports/index.html">ports</a> page |
Go read the <a href="faq/ports/index.html">ports</a> page |
if you know nothing about ports |
if you know nothing about ports |
|
|
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: |
|
|
<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_6_4</kbd> |
# <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_4</kbd> |
</pre></blockquote> |
</pre></blockquote> |
|
|
<p> |
<p> |
[Of course, you must replace the server name here with a nearby anoncvs |
[Of course, you must replace the server name here with a nearby anoncvs |
server.] |
server.] |