1

I read recently that installing dependencies in Linux, let's say through apt for example, is quite different from BSD style ports. (And I guess MacPorts borrows from this style?) But I'm not entirely clear on the differences. Apologies if this question is too open ended, but I thought this might be an okay place to get some explanation.

4
  • 2
    apt uses binary packages called deb files; and was the first widely used dependency manager in linux. BSD ports is an entirely different style of packaging, more akin to gentoo than to deb(s). – Elliott Frisch Dec 21 '16 at 2:24
  • So debs are pre-compiled binaries, while ports are pure source built on the target machine? – jerome Dec 21 '16 at 2:26
  • 3
    The original FreeBSD ports was entirely source based (as far as I can recall), but now there are also binary packages (which makes it a little complicated to describe, but ultimately more user friendly). There are also source packages (deb-src) on debian derived systems. Open source software usually includes an easy way to get at the source. – Elliott Frisch Dec 21 '16 at 2:31
  • 1
    @ElliottFrisch Please make into an answer to get points. – Rui F Ribeiro Dec 21 '16 at 3:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.