Installing git draws a lot of dependencies

Doug McIntyre merlyn at geeks.org
Wed Feb 3 06:50:22 UTC 2021


You get all of that because git is a pile of mostly C, but also perl
and python and bash scripts to get the full experience. 

It has 1000s of corner cases for doing everything under the sun.

Your other replies have already pointed out redone or liteweight
packages that strip out many of the corner cases to get it closer to
the core program that 99.99% of the people need.

But if you want the full deal, you'll have to pull in everything to
deal with it all.



On Tue, Feb 02, 2021 at 10:22:36AM +0100, freebsd at casidy.com wrote:
> Hi guys,
> 
> Can you point me to a discussion explaining why we have to keep up with 
> sooo many dependencies?
> 
> I assume this matter was address many times and I don't want to directly 
> bring up the topic... again.
> 
> 
> I have just installed FreeBSD12 on a new system. First thing I want to 
> reinstall is git.
> 
> But I can't believe what I am reading, when I do 'pkg install git' I can 
> see a lot of dependencies where I can't see the relationship with git.
> 
> Installing git will have, amongst others...
> 
>   * bash    I don't need that
>   * perl5  Come on! I just want git!
>   * python What? Why do you need Perl5 in the first place?
>   * subversion  Git is using subversion???
>   * tpm-emulator  Emulator of what?
> 
> Installing git will consume up to 367 MiB of my SDCard on my Pi...
> 
> Yeah, I know it's not new. Just want to know what is the very good 
> reason behind that.
> 
> Thanks for enlighting me.
> 
> Philippe
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list