Have yaourt save compiled packages to /var/cache/pacman/pkg

Joey Dumont bio photo By Joey Dumont Comment
   The title of this post might not mean much to most of you, but for those few lucky enough to use Arch Linux on a daily basis, this could be of use to you. By default, yaourt does not keep the package files it produces, it deletes them after installation. Since the AUR deals mostly with unsupported packages, making it imperative that you be able to roll back to older packages, this is not useful default behaviour.
   To have yaourt export your compiled packages to the standard location, /var/cache/pacman/pkg/, edit /etc/yaourtrc and change the line
#EXPORT=0
to
EXPORT=2
That is all. Have a nice day!
comments powered by Disqus