Add usage for rebuild detector and rebuilding a package

This commit is contained in:
exu 2023-07-29 14:43:09 +02:00
parent 30dceb6cb7
commit dbc0b2b7e3

View File

@ -90,3 +90,29 @@ lsusb -d 0781:55a3 -v | grep bcdUSB
``` ```
[/shuser] [/shuser]
## Arch Linux
### Detect AUR package rebuilds
Install the package `extra/rebuild-detector`
It will create a `pacman` hook to check which packages need to be rebuild, but can also be executed with the following command.
[shuser]
```sh
checkrebuild
```
[/shuser]
The packages might be rebuilt automatically a lot of the time, but sometimes it is necessary to for a rebuild using the AUR helper.
This is an example using `paru`
[shuser]
```sh
paru -S --rebuild=yes <package>
```
[/shuser]