Complete noob question: Software installation


 
Thread Tools Search this Thread
Operating Systems BSD Complete noob question: Software installation
# 1  
Old 06-09-2009
Complete noob question: Software installation

I'm a Linux guy who is tring out BSD for the first time...

What is the BSD program to automatically fetch and and install software?

Is it pkg_add? Will pkg_add automatically fetch and and install software? Does it work on all BSD variants?

This is all I could find, but I wanted to make sure I am using the right tool.
# 2  
Old 06-10-2009
freebsd and openbsd use the ports system.
you can either use
Code:
pkg_add -r pkgname

to install the binary package of the software. the -r switch pulls in all dependencies. or you can build from source.
Code:
cd /usr/ports/whatever/port
make install clean

netbsd uses pkg-src. i know nothing about pkg-src.
now theres pcbsd and desktopbsd. pcbsd uses pbi for software. BUT, being as that it is essentially freebsd, you can still use the ports system... which i recommend anyways.
i dont know anything about desktopbsd.
# 3  
Old 06-11-2009
DesktopBSD is getting outdated and the release cycle is becoming very long, as a result of the main developer(s) diverting their interest into other areas. PC-BSD is very active, but I am not particularly impressed with it: the desktop still looks incoherent.
Pkd_add only works in the command line in all BSD variants and is still the most stable way of installing software (and pkg_delete to uninstall it). The uniform way of installing software that way carries a large and wide appeal.
# 4  
Old 06-11-2009
the thing with pkg_add is that you dont always get the latest packages. port versions are sometimes more up to date than package versions.

oh yeah, dont mix ports and packages. pick one and stick with it.
# 5  
Old 06-12-2009
You can mix ports and packages easily. Installing packages is faster (about 10 times as an educated guess), but is not always possible. Acrobat Reader for instance has no packaged installation for licensing reasons and must therefore be installed using the ports manner.
# 6  
Old 06-12-2009
Quote:
Originally Posted by figaro
You can mix ports and packages easily. Installing packages is faster (about 10 times as an educated guess), but is not always possible. Acrobat Reader for instance has no packaged installation for licensing reasons and must therefore be installed using the ports manner.
yes its easy to mix them, and its easy to get things screwed up because of that. if theres any backward compatibility issues with any ports or regression, then you may be in trouble with different versions of dependencies being installed.

only mix when you HAVE to.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

For loop -- noob question

Hello, I am new to shell scripting and i am trying to figure why is this not working with else statement. I am searching for every directory in that DIR i am in, however the "else" seems to be triggered whenever the run the script.. Much thanks in advance! #!/bin/shell for item in... (3 Replies)
Discussion started by: Reb0rn
3 Replies

2. UNIX for Dummies Questions & Answers

Noob question about parsing a website

I'm trying to parse the website, finance.yahoo.com/q?s=ge&ql=1, and retrieve the info between <span id="yfs_l84_ge">18.98</span>, so 18.98. What would be the best way to go about this in a bash script? Any help or suggestions will be much appreciated. Thanks! (2 Replies)
Discussion started by: mayson
2 Replies

3. HP-UX

Anybody wants to help a complete Noob?

Hello there, first post here so go easy on me! :D I just aquired an old HP 9000 Dclass d220 server, all I know is that it's running HP-UX, and it appears to boot fine (I see the modules loading, etc..) Now, I have been an MS guy all my life (yeah I know, make fun of me), so I really have no... (9 Replies)
Discussion started by: Marvio
9 Replies

4. Ubuntu

Simple Noob Question

I am editing the squid.confi on my server. I am done editing. How do I exit the confi file? Thank you. (2 Replies)
Discussion started by: sethartha
2 Replies

5. Shell Programming and Scripting

noob question about redirecting stderr

I dont know what I am doing wrong but I would like to redirect the stderr output to a file? the specific command is this time wget http://www.something.com/somefile.bin All I want to see is time's output which is stderr so I can see how long the file download took. I've tried redirecting... (2 Replies)
Discussion started by: trey85stang
2 Replies

6. UNIX for Dummies Questions & Answers

complete unix noob (sorry)

This is my first time in this forum so, Hello to all!!! I have been supporting windows based machines for a few years now and I have been writing batch files to do certain tasks for what seems like an age. I've recently started a new job (as it support) and my new colleagues have said,... (2 Replies)
Discussion started by: Blastman
2 Replies

7. UNIX for Dummies Questions & Answers

Noob question on comparing #'s.

I have a file with 3 digit numbers in it formatted as such: 123 065 321 How would I go about seeing if each number is less than 100 and if so outputting it to another file Yes, I am a bit of a noob. I have tried with grep but I don't think it'll work. Any general direction would be... (6 Replies)
Discussion started by: kirkm76
6 Replies

8. UNIX for Dummies Questions & Answers

Noob sorting question

Ok here is the deal, I have a command given to me by some systems guy who I cannot get ahold of on the weekend without paying him alot of money to help me. I need to get this done before Monday as I am just getting pummeled by DOS attacks. The comand given was.... netstat -ntu | awk '{print... (1 Reply)
Discussion started by: Hexabah
1 Replies

9. Programming

Question about compiling (noob)

I'm just getting started to lean C and I'm using Ubuntu today I found a tutorial at this site: http://einstein.drexel.edu/courses/CompPhys/General/C_basics/c_tutorial.html and I got an error after compiling the fist code: #include < stdio.h> void main() { printf("\nHello World\n"); } ... (9 Replies)
Discussion started by: arya6000
9 Replies

10. UNIX for Dummies Questions & Answers

complete noob

Hi all, This is my first post. I am a complete noobie to the UNIX OS, I have an iMac G5 with the unix shell built in and am interested in learning how to use it to do things useful with it, but have no idea where to start. I have read over the basic commands but they haven't helped me much yet.... (3 Replies)
Discussion started by: avdrummerboy
3 Replies
Login or Register to Ask a Question