From dbc0b2b7e3e806ce8b59f967496552a4c4a12cce Mon Sep 17 00:00:00 2001 From: exu Date: Sat, 29 Jul 2023 14:43:09 +0200 Subject: [PATCH] Add usage for rebuild detector and rebuilding a package --- pages/04.other/useful-commands/default.en.md | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pages/04.other/useful-commands/default.en.md b/pages/04.other/useful-commands/default.en.md index 26365b7..c1cbce6 100644 --- a/pages/04.other/useful-commands/default.en.md +++ b/pages/04.other/useful-commands/default.en.md @@ -90,3 +90,29 @@ lsusb -d 0781:55a3 -v | grep bcdUSB ``` [/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 +``` + +[/shuser]