Installation
 |
yaourt n'est plus maintenu, utiliser un autre AUR helper: yay |
|
sudo pacman -S yaourt
|
Depuis AUR
Configuration
~/.bashrc
|
export EDITOR=/usr/bin/nano
|
/etc/yaourtrc
|
PACMAN="pacman-color"
|
Utilisation
|
yaourt paquet
yaourt -Syua
yaourt -Syu --color | tee yaourt.log
cat yaourt.log
pacman -Qm
yaourt --m-arg --skipchecksums --m-arg --skippgpcheck paquet
|
Dossiers temporaires
/tmp/yaourt-tmp-[UTILISATEUR]/[PAQUET]
Erreurs
final link failed: No space left on device
Pas assez d'espace sur /tmp
no acceptable C compiler found in $PATH
gcc n'est pas installé
Utiliser yaourt n'est plus autorisé avec l'utilisateur root
Utiliser un autre utilisateur que root pour lancer yaourt
Dans le cas d'un serveur, si aucun autre utilisateur n'est disponible, il est toujours possible d'utiliser nobody:
|
mkdir /home/build
chgrp nobody /home/build
chmod g+ws /home/build
setfacl -m u::rwx,g::rwx /home/build
setfacl -d --set u::rwx,g::rwx,o::- /home/build
EDITOR=nano visudo
Defaults:nobody !authenticate
nobody ALL= /usr/bin/pacman
sudo -u nobody yaourt -S [paquet]
su -c 'yaourt -S [paquet]' -s /bin/bash nobody
|
 |
Les alias suivants peuvent être utilisés:
|
alias makepkg='sudo -u nobody makepkg'
alias yaourt='sudo -u nobody yaourt'
| |