DEV Community

Discussion on: Installing AUR packages

Collapse
 
billyang profile image
彦绪 杨 • Edited

Thank you very much for you Post!!
But when i at step2 ,I got an error
ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
so i create a new user to use makepkg
but i got another error
==> ERROR: Cannot find the fakeroot binary.

I'm not an English speaker, so the words I write may be difficult to understand. I'm very sorry about that

Collapse
 
nabbisen profile image
nabbisen • Edited

Hello, @billyang
Thank you for your comments :)

ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.

I wonder if you used sudo. It is not recommended.
If you did as superuser, just type "makepkg ..." instead. (Well, starting with $ means "do as a user".)

ERROR: Cannot find the fakeroot binary.

This may be another issue.
It seems a part of base-devel lacks.
It is possibly solved by installing fakerook (and other core packages if required):

$ sudo pacman -S base-devel
:: There are 26 members in group base-devel:
:: Repository system
   1) autoconf  2) automake  3) binutils  4) bison  5) esysusers  6) etmpfiles  7) fakeroot
   8) file  9) findutils  10) flex  11) gawk  12) gcc  13) gettext  14) grep  15) groff
   16) gzip  17) libtool  18) m4  19) make  20) pacman  21) patch  22) pkgconf  23) sed
   24) sudo  25) texinfo  26) which

Enter a selection (default=all): 7
Enter fullscreen mode Exit fullscreen mode