PC-BSD: Package management done right?

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply

Dynamic or Static?

Static, Give me convenience
0
No votes
Dynamic, Give me speed and security
3
100%
Meh doesn't matter, as long as I have {insert program name}!
0
No votes
 
Total votes: 3

User avatar
CptnObvious999
Posts: 798
Joined: Fri Jun 03, 2005 7:54 pm
Location: Maryland
Contact:

PC-BSD: Package management done right?

Post by CptnObvious999 » Thu Mar 30, 2006 4:23 pm

Since they use staticly linked libraries one library used in multiple programs has to be dumped in the memory for every program that uses it, unlike dynamic linked ones where it can share between programs. Also its less secure because if the package was build with an older library with security flaws you can't just update the library and have it fixed, all the programs using it need to be updated with the latest library which would probly take a lot longer. I would also assume this would make compiling from source (package manager can't have every package) a pain since you would have to go dependancy hunting.

Although dynamicly linked ones like Debian, RPM, and almost every other package manager uses, there are sometimes breakage between the versions of the libraries (like API changes and different library .so filenames) and you have to install lots of other packages, so if one library doesn't work (for whatever reason) everything depending on it could fail.

I personally like the dynamic way but thats because I'm a geek and can fix issues usually and want the most speed I can get.

What do you guys think?
Last edited by CptnObvious999 on Thu Mar 30, 2006 4:50 pm, edited 1 time in total.

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Thu Mar 30, 2006 4:48 pm

I'm quite sure you're talking about PC-BSD, because DesktopBSD's package manager is just a frontend to the FreeBSD ports system, which can both install binary packages and compile from sources.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

User avatar
CptnObvious999
Posts: 798
Joined: Fri Jun 03, 2005 7:54 pm
Location: Maryland
Contact:

Post by CptnObvious999 » Thu Mar 30, 2006 4:52 pm

Tsuroerusu wrote:I'm quite sure you're talking about PC-BSD, because DesktopBSD's package manager is just a frontend to the FreeBSD ports system, which can both install binary packages and compile from sources.
OPPS, sorry about that I fixed the title. I saw DesktopBSD screenshots and got mixed up.

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Thu Mar 30, 2006 4:55 pm

For me, dynamic is probably the best solution, because I like the flexibility, I don't know if it's the best solution for the average Windows whiner who is so used to downloading a .exe file and double clicking on it and it then installs.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

thetza
Posts: 146
Joined: Tue Jan 10, 2006 7:25 pm

Post by thetza » Thu Mar 30, 2006 5:05 pm

i wonder why anyone would want to replace freebsd's port with a statically linked packaged system; I undertand that people want a click & install package installation, but instead of a statically linking everything, you could simply:
1) create a binary package of the desired package from the ports; the ports system can do this by default
2) create binary packages for all its dependencies; again, the ports can do this easily.
3) wrap up all the binary packages in a tarball
4) write a script which integrates with gnome/kde/whatever which pkg_add's all packages upon clicking.

Post Reply