You are not logged in.

#1 2011-09-02 21:01:10

richardm198030
Member
Registered: 2011-02-10
Posts: 81

Pacman files downloaded, and saved to. [Solved]

I was wondering, I looked on Arch Wiki first, but didn't find what I needed, where does pacman download files that you later install, for example pacman -S kde  I know there must be a place where KDE files must be stored, unless pacman automatically cleans up unnecessary files after it installs the package, if not, where would I go to remove the left overs, now since KDE is installed, I feel I don't need the KDE installation files, since it's already installed.

Last edited by richardm198030 (2011-09-03 02:27:39)

Offline

#2 2011-09-02 21:09:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman files downloaded, and saved to. [Solved]

"CacheDir    = /var/cache/pacman/pkg/" - that's the default, check your pacman.conf if it's the same on your system.
Or you can run 'pacman -Scc' to remove *all* cached packages, not only those related to KDE.

Last edited by karol (2011-09-02 21:10:36)

Offline

#3 2011-09-03 02:01:21

richardm198030
Member
Registered: 2011-02-10
Posts: 81

Re: Pacman files downloaded, and saved to. [Solved]

karol wrote:

"CacheDir    = /var/cache/pacman/pkg/" - that's the default, check your pacman.conf if it's the same on your system.
Or you can run 'pacman -Scc' to remove *all* cached packages, not only those related to KDE.

Thanks, and doing so won't destroy my currently installed KDE, and other apps?

Offline

#4 2011-09-03 02:06:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman files downloaded, and saved to. [Solved]

richardm198030 wrote:
karol wrote:

"CacheDir    = /var/cache/pacman/pkg/" - that's the default, check your pacman.conf if it's the same on your system.
Or you can run 'pacman -Scc' to remove *all* cached packages, not only those related to KDE.

Thanks, and doing so won't destroy my currently installed KDE, and other apps?

It won't destroy it.
You may want to have a looks at some scripts that can help you with the cleaning https://bbs.archlinux.org/viewtopic.php?id=122656

Offline

#5 2011-09-03 02:27:22

richardm198030
Member
Registered: 2011-02-10
Posts: 81

Re: Pacman files downloaded, and saved to. [Solved]

karol wrote:
richardm198030 wrote:
karol wrote:

"CacheDir    = /var/cache/pacman/pkg/" - that's the default, check your pacman.conf if it's the same on your system.
Or you can run 'pacman -Scc' to remove *all* cached packages, not only those related to KDE.

Thanks, and doing so won't destroy my currently installed KDE, and other apps?

It won't destroy it.
You may want to have a looks at some scripts that can help you with the cleaning https://bbs.archlinux.org/viewtopic.php?id=122656

Heh, too late, just ran the pacman -Scc command, it cleared it, thanks for your help, smile.

Offline

#6 2011-09-06 00:59:27

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Pacman files downloaded, and saved to. [Solved]

richardm198030 wrote:
karol wrote:
richardm198030 wrote:

Thanks, and doing so won't destroy my currently installed KDE, and other apps?

It won't destroy it.
You may want to have a looks at some scripts that can help you with the cleaning https://bbs.archlinux.org/viewtopic.php?id=122656

Heh, too late, just ran the pacman -Scc command, it cleared it, thanks for your help, smile.

I would highly recommend NOT doing pacman -Scc. It wont hurt anything, but then it will remove ALL packages from /var/cache/pacman/pkg- if in the future you need to downgrade a package that introduces a bug, you will not be able to via pacman's cache. Now, there is the ARM and the Download script in the AUR that can assist you with downgrading, but these also rely on your network working and take time to grab each package.

A better approach is to run pacman -Sc. This will clear all packages EXCEPT ones currently installed. So, if you use your system a while, seems to have no bugs, then you can run pacman -Sc to clear everything except the packages currently installed. Just a suggestion...

Offline

#7 2011-09-06 01:11:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman files downloaded, and saved to. [Solved]

Or, you could use something like pkgcacheclean http://aur.archlinux.org/packages.php?ID=41918


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2011-09-06 02:58:12

richardm198030
Member
Registered: 2011-02-10
Posts: 81

Re: Pacman files downloaded, and saved to. [Solved]

jasonwryan wrote:

Or, you could use something like pkgcacheclean http://aur.archlinux.org/packages.php?ID=41918

Thanks, already got it figured out, smile.

Offline

Board footer

Powered by FluxBB