Pacaur Cache - changing path ?
Arch-noob here (3 months with linux, still learning)
my ~/.cache/pacaur is around 1 GB (youtube-dl-git; pyload-git). Is there a way to move this dir to another partition. I can't find a conf for pacaur to set a path.
I am using pacaur for those 2 programs only. Pacman's cache is in /var and can be cleaned with -scc. But with pacaur i need to delete the cache from hand.
I would rather have this on a thrash-partition and keep my system-partitions slim.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 68zfig
5 comments
You should read pacaur manual. In particular, environment config:
https://github.com/rmarquis/pacaur/blob/master/README.pod#environment
thx. solved
You can check out my pacman setup in my dotfile repository. All packages that getting build with
makepkgwill be moved into my configured directory ($STORE_PKGS) and added as new cache directoy. Packages are build in/tmpto not use disk space. I'm using a custtompacman.confby setting it via the--configoption as an alias.The whole setup allows me to store all AUR packages in my personal "storage" directory, use a user-based
pacman.conf(instead of modifying the global one). I'm usingpacaurand everything works fine.How in the hell are those two programs taking up 1GB? Are you keeping EVERY past version you compile? You really only need the the two most recent at most.
EDIT: Also
youtube-dlis frequently updated in the repos. No need to compile from git.https://git.archlinux.org/svntogit/community.git/log/trunk?h=packages/youtube-dl
You can use
pacaur -Scinstead ofpacman -Scand this will then extend the cleaning work into the AUR clone directory.