:e ~/article/restore-asroot-for-yaourt-makepkg-in-arch.md [readonly]

smjrifle@smjrifle.xyz:~/article/ $

Restore –asroot for Yaourt/makepkg in Arch

Since pacman 4.2, when running yaourt as root user you get an error message. It was really a horrifying experience for me as I run my system as root user.

The fix involves editing the makepkg configuration:

vi /usr/bin/makepkg

Find the line that checks for root and comment it out or modify it. This restores the ability to build packages as root.

Warning: Running as root is not recommended for security reasons, but sometimes it’s necessary in development environments.

[:bp] Installing Git on your server [:bn] Mount LVM partition on Ubuntu
-- NORMAL -- restore-asroot-for-yaourt-makepkg-in-arch.md PHP UTF-8 0% smjrifle@xyz