1PACSTRAP(8) PACSTRAP(8)
2
3
4
6 pacstrap - install packages to the specified new root directory
7
9 pacstrap [options] root [packages...]
10
12 pacstrap is designed to create a new system installation from scratch.
13 The specified packages will be installed into a given directory after
14 setting up some basic mountpoints. By default, the host system’s pacman
15 signing keys and mirrorlist will be used to seed the chroot.
16
17 If no packages are specified to be installed, the base metapackage will
18 be installed.
19
21 -C <config>
22 Use an alternate config file for pacman.
23
24 -c
25 Use the package cache on the host, rather than the target.
26
27 -D
28 Skip pacman dependency checks.
29
30 -G
31 Avoid copying the host’s pacman keyring to the target.
32
33 -i
34 Prompt for package confirmation when needed (run interactively).
35
36 -K
37 Initialize an empty pacman keyring in the target (implies -G).
38
39 -M
40 Avoid copying the host’s mirrorlist to the target.
41
42 -N
43 Run in unshare mode. This will use unshare(1) to create a new mount
44 and user namespace, allowing regular users to create new system
45 installations.
46
47 -P
48 Copy the host’s pacman config to the target.
49
50 -U
51 Use pacman -U to install packages. Useful for obtaining
52 fine-grained control over the installed packages.
53
54 -h
55 Output syntax and command line options.
56
58 pacman(8)
59
61 Bugs can be reported on the bug tracker https://bugs.archlinux.org in
62 the Arch Linux category and title prefixed with [arch-install-scripts]
63 or via arch-projects@archlinux.org.
64
66 Maintainers:
67
68 • Dave Reisner <dreisner@archlinux.org>
69
70 • Eli Schwartz <eschwartz@archlinux.org>
71
72 For additional contributors, use git shortlog -s on the
73 arch-install-scripts.git repository.
74
75
76
77 01/18/2023 PACSTRAP(8)