DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th June 2010
rpindy rpindy is offline
Fdisk Soldier
 
Join Date: May 2010
Posts: 59
Default What came first: the port or the package?

I noticed in the FreeBSD section it says ports and packages, but in OpenBSD it says packages and ports. Why are they in the opposite order? Personally, I like packages and ports better.
Reply With Quote
  #2   (View Single Post)  
Old 27th June 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

On FreeBSD the emphasis and general advice is to use ports for installing stuff.
On OpenBSD the emphasis and general advice is to use packages for installing stuff.
This is why the order is reversed.

Both systems works very similar though: The ports system is used to fetch, build, and install stuff, and to build a package from that. It's just a difference in the opinions and recommendations of the developers.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 27th June 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Typically one "ports" software so that it can be compiled into a "package", so a port always comes first.. what the BSD communities call the "ports tree" is simply an infrastructure to built software into packages and to deal with dependencies, the ideas are similar but the implementations differ.

Carpetsmoker is entirely right though, in that context, it shows preference.. user customization of ports is discouraged in the OpenBSD community (..setting custom compile flags, enable options, etc), and they prefer that people use the packages they provide to reduce the support load associated with building software from source manually.
Reply With Quote
  #4   (View Single Post)  
Old 27th June 2010
Android1's Avatar
Android1 Android1 is offline
Fdisk Soldier
 
Join Date: Mar 2009
Posts: 60
Default

What about NetBSD? Are binary packages preferred to source packages or vice versa?
Reply With Quote
  #5   (View Single Post)  
Old 27th June 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

NetBSD's gone in a slightly different direction, they have something called pkgsrc, which brings a BSD-ports-like tree to a wide variety of different platforms and operating systems (..including OS X and some others).

It seems they provide binary packages for a few systems as well, primarily I'm assuming people would build things themselves.. but it appears they tag their source tree with quarterly releases, so I'm assuming packages would target this and be slightly outdated?

You can find out more on their website: http://www.pkgsrc.org/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help-binary package install bsdadmin NetBSD Installation and Upgrading 11 29th October 2009 05:08 AM
Package Updates for OpenBSD 4.2 and 4.3 shep OpenBSD Packages and Ports 15 17th October 2009 02:39 PM
tcpdump package bsdnewbie999 OpenBSD Packages and Ports 6 30th March 2009 05:24 PM
how to check package dependencies? bsdnewbie999 OpenBSD Packages and Ports 5 31st July 2008 04:05 AM
OpenJDK package aleunix OpenBSD Packages and Ports 2 2nd June 2008 07:54 AM


All times are GMT. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick