2024-02-23 09:44:27 +02:00
|
|
|
# aur
|
|
|
|
|
|
|
|
> Build packages from the AUR and manage local repositories.
|
2024-02-24 21:48:52 +02:00
|
|
|
> Note: A local repository needs to be defined in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function.
|
2024-02-23 09:44:27 +02:00
|
|
|
> More information: <https://github.com/aurutils/aurutils>.
|
|
|
|
|
2025-08-06 18:21:18 +03:00
|
|
|
- Initialize the repository that matches the path in `/etc/pacman.conf`:
|
|
|
|
|
|
|
|
`repo-add {{path/to/database.db.tar.gz}}`
|
|
|
|
|
2024-02-23 09:44:27 +02:00
|
|
|
- Search the AUR database for a package:
|
|
|
|
|
|
|
|
`aur search {{keyword}}`
|
|
|
|
|
2025-08-07 18:36:41 +03:00
|
|
|
- Download one or more packages and their dependencies from the AUR, build them, and add them to a local repository:
|
2024-02-23 09:44:27 +02:00
|
|
|
|
2025-08-07 18:36:41 +03:00
|
|
|
`aur sync {{package1 package2 ...}}`
|
2024-02-23 09:44:27 +02:00
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
- List packages available in your local repository:
|
2024-02-23 09:44:27 +02:00
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
`aur repo {{[-l|--list]}}`
|
2024-02-23 09:44:27 +02:00
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
- Upgrade local repository packages:
|
2024-02-23 09:44:27 +02:00
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
`aur sync {{[-u|--upgrades]}}`
|
2024-04-30 06:20:17 +03:00
|
|
|
|
2024-05-11 10:27:17 +03:00
|
|
|
- Install a package without viewing changes in Vim and do not confirm dependency installation:
|
2024-04-30 06:20:17 +03:00
|
|
|
|
2025-03-07 13:14:54 +02:00
|
|
|
`aur sync --noview {{[-n|--noconfirm]}} {{package}}`
|