To keep or not to keep tarballs
In Gentoo, one normally keeps source tarballs because they are frequently re-used, either for patch updates or for rebuilding packages against upgraded libraries. Is this also the case in Crux? And do the compiled .pkg.tar.gz files need to be kept after the package has been installed? I ask because I do not have a very large partition for my Crux system and I don't want it to get filled up with unnecessary files. -- Hazel Russman <hazel_russman@yahoo.co.uk>
If you don't plan on recompiling or reinstalling any of the packages, you don't need to keep either the source or package tarballs. That said, the package tarballs are generally pretty small and can save you if you accidentally muck up your system. -Simon -----Original Message----- From: crux-bounces@lists.crux.nu [mailto:crux-bounces@lists.crux.nu] On Behalf Of Hazel Russman Sent: Tuesday, July 21, 2009 2:34 PM To: crux@lists.crux.nu Subject: To keep or not to keep tarballs In Gentoo, one normally keeps source tarballs because they are frequently re-used, either for patch updates or for rebuilding packages against upgraded libraries. Is this also the case in Crux? And do the compiled .pkg.tar.gz files need to be kept after the package has been installed? I ask because I do not have a very large partition for my Crux system and I don't want it to get filled up with unnecessary files. -- Hazel Russman <hazel_russman@yahoo.co.uk> _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
Hello, Hazel. On Tue, 21 Jul 2009 19:33:52 +0100 Hazel Russman <hazel_russman@yahoo.co.uk> wrote:
In Gentoo, one normally keeps source tarballs because they are frequently re-used, either for patch updates or for rebuilding packages against upgraded libraries. Is this also the case in Crux? And do the compiled .pkg.tar.gz files need to be kept after the package has been installed?
You can easily adjust a few lines in pkgmk.conf(5) to put packages and/or tarballs to the temporary directory, for example. And there is no need to keep packages unless you want to dive into some specific version to search for something. The pkg-backup[1][2] might be a very handy tool. [1] http://git.die.net.au/crux/tools/pkg-backup [2] http://crux.nu/Wiki/PackageBackups -- Mikhail Kolesnik JID: mike_k at jabber.org ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta
On Wednesday 22 July 2009 07:19:49 Mikhail Kolesnik wrote:
Hello, Hazel.
On Tue, 21 Jul 2009 19:33:52 +0100
Hazel Russman <hazel_russman@yahoo.co.uk> wrote:
In Gentoo, one normally keeps source tarballs because they are frequently re-used, either for patch updates or for rebuilding packages against upgraded libraries. Is this also the case in Crux? And do the compiled .pkg.tar.gz files need to be kept after the package has been installed?
You can easily adjust a few lines in pkgmk.conf(5) to put packages and/or tarballs to the temporary directory, for example. And there is no need to keep packages unless you want to dive into some specific version to search for something. The pkg-backup[1][2] might be a very handy tool.
[1] http://git.die.net.au/crux/tools/pkg-backup [2] http://crux.nu/Wiki/PackageBackups
Keeping packages can also be useful if you want to run a package repository for a number of crux machines.
Personally, I have my /etc/pkgmk.conf set up like so.. PKGMK_SOURCE_DIR="/var/ports/distfiles" PKGMK_PACKAGE_DIR="/var/ports/packages" PKGMK_WORK_DIR="/dev/shm/pkgmk-work-$name" That way I can easily weed out what I need and do not need. :) Hope that helps! On Tue, Jul 21, 2009 at 07:33:52PM +0100, Hazel Russman wrote:
In Gentoo, one normally keeps source tarballs because they are frequently re-used, either for patch updates or for rebuilding packages against upgraded libraries. Is this also the case in Crux? And do the compiled .pkg.tar.gz files need to be kept after the package has been installed?
I ask because I do not have a very large partition for my Crux system and I don't want it to get filled up with unnecessary files.
-- Hazel Russman <hazel_russman@yahoo.co.uk> _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
participants (6)
-
Hazel Russman
-
J. Limon
-
Jose V Beneyto
-
Lucas Hazel
-
Mikhail Kolesnik
-
Simon Tetelbaum