Files
cheatsheet-tldr/tldr/linux/aur
2024-05-12 00:15:07 +00:00

31 lines
820 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 and do not confirm dependency installation:
`aur sync --noview --noconfirm {{package}}`