You are not logged in.
Sometimes you install a package, because you need it, but never use it again. That way root is growing unnecessarily.
So I was thinking: Is there a way to install a package temporarily, so the installation and all additional dependencies are gone when rebooting?
Last edited by capoeira (2012-07-09 15:17:07)
Offline
A live distro w/o a permanent store will do just that, otherwise you have to at least have uninstall the stuff you've just installed.
Changing the CacheDir in pacman.conf should help too. When you're done testing you can just remove the packages via 'pacman -Sc' or use a location that will be cleared automatically or reboot, like /tmp (if you're using tmpfs for your /tmp).
Offline
Or use a chroot for testing packages.
Offline
What's wrong with
pacman -Rsn <package>
pacman -Sc"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I install packages I want to test with --as-deps, so it shows up the next time cleaning the system from orphaned packages.
Offline
What's wrong with
pacman -Rsn <package> pacman -Sc
nothing wrong, I wanted to automate that
I install packages I want to test with --as-deps, so it shows up the next time cleaning the system from orphaned packages.
this is a elegant solution. thanks a lot
Offline