Files
tldr/pages/linux/aur.md
Managor 2c03129895 aur: add automation example (#12695)
* aur: add automation example

* Update pages/linux/aur.md

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>

---------

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
2024-04-30 11:20:17 +08:00

26 lines
673 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>.
- Search the AUR database for a package:
`aur search {{keyword}}`
- Download a package and its dependencies from AUR, build them and add them to a local repository:
`aur sync {{package}}`
- [l]ist packages available in your local repository:
`aur repo --list`
- [u]pgrade local repository packages:
`aur sync --upgrades`
- Install a package without viewing changes in Vim:
`aur sync --noview {{package}}`