Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
On Friday 02 Aug 2013 21:41:07 Harry Putnam wrote: Stroller strol...@stellar.eclipse.co.uk writes: On 3 August 2013, at 04:03, Harry Putnam wrote: ... emerge -vp dev-vcs/git and come up with 194 pkgs that need to be installed. ... So I imagine I've done something thats causing that massive of a list of dependencies. I tried a few USE flags like -X and that did drop it down to 187... but jeez still thats a bit off the wall. What profile have you selected, please? Stroller. ../../usr/portage/profiles/default/linux/x86/13.0/desktop And I will be using a desktop eventually but not now... and when I do it will be one of light ones like openbox or such. It may be too late now, but in your shoes I'd have started with the default profile instead of the desktop; that would have avoided pulling in large numbers of packages that you didn't need until you were ready to install a desktop. Although I run a KDE desktop on this box I still have the default profile from when I rebuilt it last month. If I set profile 3 (desktop), then emerge -puDvN world, I get: ---8 Total: 66 packages (21 new, 1 in new slot, 44 reinstalls) Most of those are from the application of a few USE flags, so maybe I can now set the desktop profile. -- Regards, Peter
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
On 08/02/2013 08:22 PM, Harry Putnam wrote: Now, is it reasonable to install that way? Will I run into some horrible unsightly mess using git, when installed this way. Without USE=perl, you'll get a surprise if you try to `git add -i`.
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
Am Fri, 02 Aug 2013 20:22:09 -0400 schrieb Harry Putnam rea...@newsguy.com: Nikos Chantziaras rea...@gmail.com writes: On 03/08/13 06:03, Harry Putnam wrote: No doubt suffering from overdose of pilot error here but on a new (in progress) install of gentoo as guest in vbox. I ran the command emerge -vp dev-vcs/git and come up with 194 pkgs that need to be installed. Try disabling all flags and see where that gets you. You can do that with a single command: USE=-blksha1 -curl -gpg -iconv -pcre -python -threads -webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight -nls -perl -ppcsha1 -subversion -test -tk -xinetd emerge -p dev-vcs/git Hehe, alright, now we're talking that reduced dependancies to just 1 lonesome cpio. , | vgen ~ # USE=-blksha1 -curl -gpg -iconv -pcre -python -threads | -webdav -cgi | -cvs -doc -emacs -gnome-keyring -gtk -highlight -nls -perl -ppcsha1 | -subversion -test -tk -xinetd emerge -vp dev-vcs/git | | These are the packages that would be merged, in order: | | Calculating dependencies... done! | [ebuild N ] app-arch/cpio-2.11-r1 USE=-nls 995 kB | [ebuild N ] dev-vcs/git-1.8.3.2 USE=-blksha1 -cgi -curl -cvs | -doc -emacs -gnome-keyring -gpg -gtk -highlight -iconv -nls -pcre | -perl (-ppcsha1) -python -subversion {-test} -threads -tk -webdav | -xinetd PYTHON_SINGLE_TARGET=python2_7 -python2_6 | PYTHON_TARGETS=python2_7 -python2_6 4,900 kB | | Total: 2 packages (2 new), Size of downloads: 5,895 kB ` Now, is it reasonable to install that way? Will I run into some horrible unsightly mess using git, when installed this way. I think that depends entirely on how exactly you plan on using git, for example: - python and perl seem to control additional python and perl packages, but they are also used by some commit hooks and scripts - tk is required for the gitk GUI (which is useful for browsing history) - gpg is required for gpg commit signing - cvs and subversion are only needed for the git-cvs and git-svn commands Otherwise, I'm not entirely sure what you would be missing through such, uh, radical minimalism ;) ; equery uses git is your friend for some of the other flags, e.g., curl is required for http[s]:// repository URLs. HTH -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
2013/8/3 Harry Putnam rea...@newsguy.com: Hehe, alright, now we're talking that reduced dependancies to just 1 lonesome cpio. Now, is it reasonable to install that way? Will I run into some horrible unsightly mess using git, when installed this way. IIRC you only have to do USE=-perl and most dependencies will be gone... I distantly recall the last time I installed git on one of my server nodes most packages pulled in was in the form virtual/perl-* and perl-*/*, i.e. CPAN packages. However, according to the ebuild, you need USE=perl set if you want to enable subversion support or something funnier like CGI, so you'd probably have to consider this whole thing a little bit more before drawing your conclusion...
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
On 08/02/2013 09:38 PM, Harry Putnam wrote: Michael Orlitzky mich...@orlitzky.com writes: On 08/02/2013 08:22 PM, Harry Putnam wrote: Now, is it reasonable to install that way? Will I run into some horrible unsightly mess using git, when installed this way. Without USE=perl, you'll get a surprise if you try to `git add -i`. Well, I do have perl installed so if its just a matter of having perl available then wouldn't it still work? USE=perl pulls in some perl packages that (ostensibly) `git add -i` uses to do its thing. It's possible that /if/ you happened to have those packages installed anyway, `git add -i` would pick them up at runtime and work. But if you have them installed anyway, why worry about the USE flag?
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
On Sat, Aug 3, 2013 at 1:11 PM, Nikos Chantziaras rea...@gmail.com wrote: On 03/08/13 06:20, Harry Putnam wrote: Nikos Chantziaras rea...@gmail.com writes: [...] Unless I hear something that would indicate it will be too crippled even for the usage I plan. You should of course put those USE flags in /etc/portage/package.use instead of setting them in the command-line, otherwise they won't be remembered. But I would go with the defaults anyway. There is no reason at all why you should not install 194 packages. Only that this is a smallish install with only 32gb of disk space. You would be surprised how little space most packages actually consume once installed :-) For example, my desktop has a full KDE install (*with* semantic-desktop), lots of extra packages for developing, graphics editing, audio editing, four different browsers with all their deps, etc. It's a multilib system with lots of 32-bit compatibility deps. In total, that's 1381 installed packages. Total space consumed is 8GB. So I'd say try to install it. If it turns out it takes too much space, it's very easy to get rid of all those deps again: Full GNOME+systemd desktop, plus goodies like LibreOffice and Chromium: acero ~ # du -sh /usr/bin/ 389M /usr/bin/ acero ~ # du -sh /bin/ 8.7M /bin/ acero ~ # du -sh /usr/sbin/ 32M /usr/sbin/ acero ~ # du -sh /sbin/ 6.2M /sbin/ acero ~ # du -sh /usr/lib64/ 2.2G /usr/lib64/ acero ~ # du -sh /lib64/ 45M /lib64/ 2.6 GB in total. Also: acero ~ # du -sh /usr/share/doc 2.5G /usr/share/doc You will save much more space by using USE=-doc (or perhaps even adding /usr/share/doc to INSTALL_MASK), than by removing potentially useful functionality. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Do I really need 194 pkgs to install git?
On Sat, 3 Aug 2013 14:18:28 -0500, Canek Peláez Valdés wrote: acero ~ # du -sh /usr/share/doc 2.5G /usr/share/doc You will save much more space by using USE=-doc (or perhaps even adding /usr/share/doc to INSTALL_MASK), than by removing potentially useful functionality. USE=-doc will greatly reduce that without using INSTALL_MASK or omitting anything important. USE=doc should only control additional docs, such as needed by devs, although some packages don't respect this. -- Neil Bothwick Math and alcohol don't mix. Don't drink and derive. signature.asc Description: PGP signature