1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 11:15:48 +02:00
tldr/pages/linux/aur.md
Managor b4a8ccddeb
aur: mark multiple package installation (#17544)
Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
2025-08-07 18:36:41 +03:00

29 lines
900 B
Markdown

# aur
> Build packages from the AUR and manage local repositories.
> Note: A local repository needs to be defined in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function.
> More information: <https://github.com/aurutils/aurutils>.
- Initialize the repository that matches the path in `/etc/pacman.conf`:
`repo-add {{path/to/database.db.tar.gz}}`
- Search the AUR database for a package:
`aur search {{keyword}}`
- Download one or more packages and their dependencies from the AUR, build them, and add them to a local repository:
`aur sync {{package1 package2 ...}}`
- List packages available in your local repository:
`aur repo {{[-l|--list]}}`
- Upgrade local repository packages:
`aur sync {{[-u|--upgrades]}}`
- Install a package without viewing changes in Vim and do not confirm dependency installation:
`aur sync --noview {{[-n|--noconfirm]}} {{package}}`