You are not logged in.

#1 2010-05-13 19:05:21

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Leftover files from makepkg

I've looked around in the wiki a bit, but I haven't seemed to find any information about this. I'm just curious that after I've installed a program through the pkg system, and pacman. The files that are left over, the PKGBUILD, the tar's, etc, am I able to delete all of that without harming any program I've installed? I just don't want all the clutter, and there's already many files on the folder I keep them in, and over time it's going to get out of control.

Offline

#2 2010-05-13 19:19:31

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: Leftover files from makepkg

You can delete everything wink
You may want to save the actual package though for reinstall.

Offline

#3 2010-05-13 19:19:53

Coacher
Guest

Re: Leftover files from makepkg

Yes you can safely remove everything from directory where your program was built, they are unnecessary until you want an update. Then youll need to download PKGBUILD again.

Last edited by Coacher (2010-05-13 19:20:49)

#4 2010-05-13 19:21:49

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Leftover files from makepkg

Yes. I personally keep the pkg.tar.gz in case I need to reinstall it. If you automatize building with yaourt (for example), the files are put in /tmp and removed when everything is complete or on reboot.

[edit] simultaneous answers wink

Last edited by benob (2010-05-13 19:34:24)

Offline

#5 2010-05-13 19:31:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Leftover files from makepkg

makepkg -h wrote:

-c, --clean      Clean up work files after build

Could be useful here.

Offline

#6 2010-05-13 23:25:22

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Re: Leftover files from makepkg

Awesome, thanks everyone for the advice.

Offline

#7 2010-05-14 00:09:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Leftover files from makepkg

tomk wrote:
makepkg -h wrote:

-c, --clean      Clean up work files after build

Could be useful here.

+10,000
Using makepkg -cs or even -csi makes the whole thing too easy.

Offline

#8 2010-05-14 03:15:36

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Leftover files from makepkg

You may also be interested in pkgclean from pkgtools, as that cleans up some of the cruft too.

Offline

Board footer

Powered by FluxBB