Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-30 00:20:37 +00:00
parent 44de08faea
commit a2961fe873
59 changed files with 463 additions and 80 deletions

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Install the `base` package, the Linux kernel and firmware for common hardware:
`pacstrap {{path/to/new/root}} {{base}} {{linux}} {{linux-firmware}}`
`pacstrap {{path/to/new_root}} {{base}} {{linux}} {{linux-firmware}}`
- Install the `base` package, the Linux LTS kernel and `base-devel` build tools:
`pacstrap {{path/to/new/root}} {{base}} {{base-devel}} {{linux-lts}}`
`pacstrap {{path/to/new_root}} {{base}} {{base-devel}} {{linux-lts}}`
- Install packages and copy the host's Pacman config to the target:
`pacstrap -P {{path/to/new/root}} {{packages}}`
`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}}`
`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}}`
`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}}`
`pacstrap -c {{path/to/new_root}} {{packages}}`
- Initialize an empty `pacman` keyring in the target without copying it from the host:
`pacstrap -K {{path/to/new/root}} {{packages}}`
`pacstrap -K {{path/to/new_root}} {{packages}}`
- Install packages in interactive mode (prompts for confirmation):
`pacstrap -i {{path/to/new/root}} {{packages}}`
`pacstrap -i {{path/to/new_root}} {{packages}}`