From cb6f74dd28e8f044e9b782332e36318e7b1aa616 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Thu, 11 Feb 2021 13:59:20 -0300 Subject: [PATCH] pacstrap: add page (#5247) --- pages/linux/pacstrap.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/linux/pacstrap.md diff --git a/pages/linux/pacstrap.md b/pages/linux/pacstrap.md new file mode 100644 index 0000000000..a87ccd95b8 --- /dev/null +++ b/pages/linux/pacstrap.md @@ -0,0 +1,36 @@ +# pacstrap + +> Install packages using Pacman to the specified new root directory. +> More information: . + +- Install the `base` package, 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: + +`pacstrap {{path/to/new/root}} {{base}} {{base-devel}} {{linux-lts}}` + +- Install packages without copy the host's mirrorlist to the target: + +`pacstrap -M {{path/to/new/root}} {{packages}}` + +- Use an alternate configuration file for Pacman: + +`pacstrap -C {{path/to/pacman.conf}} {{path/to/new/root}} {{packages}}` + +- Install packages using the package cache on the host instead of on the target: + +`pacstrap -c {{path/to/new/root}} {{packages}}` + +- Install packages without copy the host's pacman keyring to the target: + +`pacstrap -G {{path/to/new/root}} {{packages}}` + +- 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}}`