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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
.Dd September 27, 2026
.Dt INSTALL 8
.Os
.Sh NAME
.Nm install
.Nd install rawnix packages onto a target from the network
.Sh SYNOPSIS
.Nm
.Fl Fl target Ar mountpoint
.Ar group ...
.Sh DESCRIPTION
.Nm
downloads pre-built packages from the
.Li bulk
module on rsync.rawnix.org and installs them with
.Xr addpkg 8
into the system mounted at
.Ar mountpoint .
It is the netinstaller's own command; on the installer image it
replaces
.Xr install 1 ,
which is why this page is read with
.Ic man 8 install .
.Pp
The target must be mounted and prepared with
.Xr setup-filesystem 8
first.
The groups are installed in the order given; the runtime libraries
always come first.
.Bl -tag -width kernel
.It Cm base
The whole system:
.Cm libs ,
.Cm core ,
.Cm opt ,
the development tools, and the
.Cm kernel .
.It Cm core
.Cm libs ,
the base system and
.Cm opt ,
without a kernel.
.It Cm opt
udevd, limine and tinyrd.
.It Cm libs
libffi, libedit, libucontext and json-c.
.It Cm kernel
The newest prebuilt kernel.
It needs the result of
.Xr setup-boot 8 ,
a mounted EFI system partition at
.Pa boot/efi
and, for its initramfs, the
.Cm opt
group, so give it last:
.Dl # install --target /mnt core kernel
.It Cm kernel-cloud
The newest prebuilt cloud kernel,
.Li linux-cloud- Ns Ar version :
the same kernel without the drivers a virtual machine has no use for:
no wireless, no GPU, no bluetooth, no sound.
Installed the same way as
.Cm kernel ,
and never beside it:
.Dl # install --target /mnt core kernel-cloud
.El
.Pp
The development tools are only installed as part of
.Cm base :
llvm, rust, gcc-compat, cmake, python3, make, meson, samurai,
pkgconf, autoconf, automake, libtool, m4 and perl.
.Pp
Installing the kernel writes the boot menu on the EFI system partition;
see
.Xr bootloader 7 .
Later kernels are never installed by
.Ic pkg sysup ;
a kernel is only ever installed by hand.
.Pp
Afterwards
.Nm
copies
.Pa /etc/ports/ports.rsync
and the trusted keys in
.Pa /etc/ports/keys/
into the target, so the new system can sync and verify ports.
.Sh FILES
.Bl -tag -width Ds
.It Pa /etc/ports/ports.rsync
The rsync token for rsync.rawnix.org.
.It Pa /etc/ports/keys/*.pub
Trusted signing keys, copied into the target.
.It Ar mountpoint Ns Pa /tmp/rawnix-install/
Downloads while installing; removed at the end.
.El
.Sh EXIT STATUS
.Nm
exits 0 when every package was installed.
If some were not, it lists them, warns that the target is incomplete,
and exits 1.
It stops at once if the network or the target is not usable.
.Sh EXAMPLES
.Dl # install --target /mnt base
.Sh SEE ALSO
.Xr bootloader 7 ,
.Xr installation 7 ,
.Xr addpkg 8 ,
.Xr pkg 8 ,
.Xr setup-boot 8 ,
.Xr setup-filesystem 8
|