BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 19th, 2001, 08:34 AM
charkus charkus is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Bath, England
Posts: 312 charkus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 14 sec
Reputation Power: 7
Question Setting up ports

Hi,

I've been using FreeBSD4.3 for a couple of months now, and feel like I'm getting the hang of it. I've setup samba, linking it to our Win2k network, and got it showing up like a Windows machine on the network. I've got Apache set up with ssl and php and mysql and everything works well.

My problem is that when I was installing FreeBSD in the first place I said 'no' to installing the ports collection, thinking that I would have less to deal with and less to confuse me. Now I want to try and install some ports, but don't really know how to start.

I've looked for ages in the handbook, and searched for help, but couldn't find any.

I have no /usr/ports dir, and I'm not sure what I need to do to be able to use ports.

Please help!!
__________________
Charkus

Reply With Quote
  #2  
Old October 19th, 2001, 05:20 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
One of the biggest advantage BSDs over Linux is the ports system.

Ports vs. Packages

Packages:
**Advantages**
- Precompiled binaries. Compiling from source takes time, therefore, installing programs from packages takes no time.
- Unlike Linux RPMs which often fail to locate the neccessary dependencies from version to version, *BSDs packages is smart enough to locate/download/install the needed dependencies for you automatically whenever you install something.

**Disvantages**
- Not durable and unreliable. When installing software from packages, as mentioned above, it will check/fetch dependencies automatically, however, it doesn't check for errors. Say you are unable to install a software from ports successfully but it goes smoothly with precompiled binary. Do you think your program is durable and reliable? Obviously no, just because something must be wrong with your compiler or so. Continue using that program is unreliable and what you should do is to find out what went wrong and fix the problems.
- Not configurable. Like RPM, you can't specify configure options like you normally do with ./configure --prefix=/foo/bar. When you are accepting everything by default, that's not flexible and there might be some features you wanted to enable but it's disabled by default.

Ports:
**Advantages**
- Highly configurable
- Time saving. Each port in the ports tree must have a port maintainer in order to make it to the ports tree. What a port maintainer do is to update the version, write necessary patches, find out all the required dependencies, write scripts to do what pre-install and post-install should do. It's alot works, hard ones that you would normally do if you choose to compile a software from source.

**Disvantage**
- Some programs might take forever to get it installed. Say your system has no X and you are trying to install the latest KDE, it could take you 50 hours to get it and dependenices installed. Not to mention in the event of a compilation failure, you might have to start the whole long process all over again from scratch.

>> I have no /usr/ports dir, and I'm not sure what I need to do to be able to use ports

Install the ports collection from your CD.

If you want to use current port, you need to track 4.x-STABLE. The ports in your CD are really outdated.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Setting up ports


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway