LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackbuilds leftover files (https://www.linuxquestions.org/questions/slackware-14/slackbuilds-leftover-files-864563/)

patostevens 02-23-2011 11:19 AM

slackbuilds leftover files
 
I am a big user of SlackBuilds. The question here is that under /var/lib/sbopkg/SBo/13.1/* there are a lot of files that seem to be un-needed. Can I safely remove these to reclaim some space or do they need to stay?
If they do need to stay, what do they do?
Thanks.

Drakeo 02-23-2011 11:24 AM

if you are using the SBOPKG browser builder you can use the option to clean it up the whole system is to keep you from re down loading the source files if you ever built ffmpeg or go_office and if using current and we have a gcc upgrade and you need to recompile it is nice not having to down load again. hope this helped

patostevens 02-23-2011 12:54 PM

Thanks Drakeo - that answers the question.

slakmagik 02-23-2011 01:48 PM

Actually, the default SRCDIR is /var/cache/sbopkg (which is where downloaded source files are kept to prevent the need to re-download) while the default OUTPUT is /tmp (where built packages end up so you don't have to rebuild them). These files *can* be deleted. But, before doing that, I'd delete the stuff in the default TMP dir, which is /tmp/SBo, which is just where the files produced by untarring, building, and pre-packaging are kept. Since these all come from the source and end up in the package, they're redundant, though they can be handy to inspect. This is why, if you want them deleted automatically, sbopkg provides the CLEANUP configuration option.

On the other hand, /var/lib/sbopkg/SBo/13.1/ is your default local repo and is the mirror of SBo and only takes about 90 megs and should never be deleted or you'll simply have to resync the 90 megs of files before you can use sbopkg again.

All of this and more is documented in the lovingly hand-crafted sbopkg.conf(5). ;)


All times are GMT -5. The time now is 06:19 PM.