Debian Codegraph @

doc/pacstrap.8.asciidoc

raw
1 pacstrap(8)
2 ===========
3
4 Name
5 ----
6 pacstrap - install packages to the specified new root directory
7
8 Synopsis
9 --------
10 pacstrap [options] root [packages...]
11
12 Description
13 -----------
14 pacstrap is designed to create a new system installation from scratch. The
15 specified packages will be installed into a given directory after setting up
16 some basic mountpoints. By default, the host system's pacman signing keys
17 and mirrorlist will be used to seed the chroot.
18
19 If no packages are specified to be installed, the 'base' metapackage will be
20 installed.
21
22 Options
23 -------
24
25 *-C* <config>::
26 Use an alternate config file for pacman.
27
28 *-c*::
29 Use the package cache on the host, rather than the target.
30
31 *-D*::
32 Skip pacman dependency checks.
33
34 *-G*::
35 Avoid copying the host's pacman keyring to the target.
36
37 *-i*::
38 Prompt for package confirmation when needed (run interactively).
39
40 *-K*::
41 Initialize an empty pacman keyring in the target (implies '-G').
42
43 *-M*::
44 Avoid copying the host's mirrorlist to the target.
45
46 *-N*::
47 Run in unshare mode. This will use linkman:unshare[1] to create a new
48 mount and user namespace, allowing regular users to create new system
49 installations.
50
51 *-P*::
52 Copy the host's pacman config to the target.
53
54 *-U*::
55 Use pacman -U to install packages. Useful for obtaining fine-grained
56 control over the installed packages.
57
58 *-h*::
59 Output syntax and command line options.
60
61 See Also
62 --------
63
64 linkman:pacman[8]