summaryrefslogtreecommitdiffstats
path: root/doc/install/chroot.mdwn
blob: cc4a86c81b643df44c09e5d4af32163246651087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[[!meta title="Isolated File System Environment Installation"]]

[[←_Back_to_Installing_ProteanOS|doc/install]]

These instructions explain how to install ProteanOS into a directory on an
existing host system to run under an isolated file system environment, or
"jail", using prokit, the ProteanOS Development Kit.  prokit will run ProteanOS
using the **chroot**(2) system call via the **chroot**(8) wrapper program.

It is assumed that you have already
[[built_and_optionally_installed_prokit|doc/install/prokit]].


Installing ProteanOS
====================

First decide which "suite" of ProteanOS you wish to install.  Currently only one
suite is available: `dev/trunk`.

Next decide where to install ProteanOS.  Replace `$root` below with the path to
which you want ProteanOS installed.

If you installed prokit to your system, simply run:

    $ sudo prokit install dev/trunk $root

Otherwise, from your prokit build directory, run:

    $ sudo ./prokit install dev/trunk $root

Next Steps
==========

Familiarize yourself with the ProteanOS Development Kit Manual, if you haven't
already.  The **prokit-shell**(8) and **prokit-opkg**(8) commands are used to
manage installed ProteanOS systems.

If you'd like to develop packages for ProteanOS, you need to install the
`build-essential` package (again replacing `prokit` with `./prokit` if you
haven't installed prokit):

    $ sudo prokit opkg $root install build-essential

This may take a while, depending on your network connection.  Then you can start
[[learning_how_to_prepare_packages|doc/pkg]]!