1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 02:35:25 +02:00

pacstrap: update page (#16406)

This commit is contained in:
Lena 2025-05-08 00:59:46 +00:00 committed by GitHub
parent c229b4dd93
commit d3d6b60e6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,21 @@
# pacstrap
> Arch Linux install script to install packages to the specified new root directory.
> More information: <https://manned.org/pacstrap.8>.
> Install Arch Linux packages in the specified new root directory.
> More information: <https://manned.org/pacstrap>.
- Install the `base` package, Linux kernel and firmware for common hardware:
- Install the `base` package, the Linux kernel and firmware for common hardware:
`pacstrap {{path/to/new/root}} {{base}} {{linux}} {{linux-firmware}}`
- Install the `base` package, Linux LTS kernel and `base-devel` build tools:
- Install the `base` package, the Linux LTS kernel and `base-devel` build tools:
`pacstrap {{path/to/new/root}} {{base}} {{base-devel}} {{linux-lts}}`
- Install packages without copy the host's mirrorlist to the target:
- Install packages and copy the host's Pacman config to the target:
`pacstrap -P {{path/to/new/root}} {{packages}}`
- Install packages without copying the host's mirrorlist to the target:
`pacstrap -M {{path/to/new/root}} {{packages}}`
@ -30,7 +34,3 @@
- Install packages in interactive mode (prompts for confirmation):
`pacstrap -i {{path/to/new/root}} {{packages}}`
- Install packages using package files:
`pacstrap -U {{path/to/new/root}} {{path/to/package1}} {{path/to/package2}}`