Sample Header Ad - 728x90

I cannot install Yaourt: I do not have write permission for the directory

2 votes
1 answer
5397 views
These are the instructions (https://manjaro.site/how-to-install-yaourt-on-arch-linux/) to install Yaourt: git clone https://aur.archlinux.org/package-query.git cd package-query makepkg -si cd .. git clone https://aur.archlinux.org/yaourt.git cd yaourt makepkg -si I successfully run the first two lines, but when running makepkg I get the error: => ERROR: You do not have write permission for the directory $BUILDDIR (/home/pietrom/package-query). Aborting... I try with: sudo makepkg -si and I get this error: ==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. I change the file's owner: sudo chown pietrom ./PKGBUILD sudo chgrp users ./PKGBUILD and, again, I get: makepkg -si ==> ERROR: You do not have write permission for the directory $BUILDDIR (/home/pietrom/package-query). Aborting... What am I doing wrong? I havo to install Yaourt to install Google Chrome.
Asked by Pietro (663 rep)
Sep 21, 2019, 04:31 PM
Last activity: Feb 12, 2024, 07:02 PM