Reply
 
Thread Tools Display Modes
  #1  
Old 07-17-2008, 08:14 PM
UNIXman UNIXman is offline
Junior Member
 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default freshports
Friends!
Could you explain me, how can I use FreshPorts.
I installed Ports Tree (FreeBSD ports collection). But it seems nothing happened after this installation. What can I do to use FreshPorts easily and install programs that I need?

Thanks to everyone.
Reply With Quote
  #2  
Old 07-17-2008, 09:37 PM
graedus graedus is offline
Senior Member
 
Join Date: Jul 2006
Location: .mx
Posts: 606
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: freshports
Originally Posted by UNIXman
Friends!
Could you explain me, how can I use FreshPorts.
I installed Ports Tree (FreeBSD ports collection). But it seems nothing happened after this installation. What can I do to use FreshPorts easily and install programs that I need?

Thanks to everyone.
Freshports is a quick reference site for the FreeBSD ports tree, its not an installation frontend.

What you need is, as root, to manually
Code:
portsnap fetch extract
the ports collection (installing it from CD2 won't work well) before trying a make install.

For more information on the ports and packages system, check the FreeBSD Handbook at this link.
Reply With Quote
  #3  
Old 07-18-2008, 04:46 AM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default Re: freshports
Adding to the last post -- FreshPorts gives you a nice search engine to find programs of interest. The same source code will already be in your ports collection if you keep it up to date. FreshPorts is also handy because it gives you the commands to issue in the terminal, and you can usually copy and paste them into your terminal program.


With the ports collection installed on your computer, you can look in /usr/ports where you will see a simple tree structure of folders. The structure is in the format of category > program name.

Another way (Using the GUI) to install and update ports with PCBSD is:

Start ->Settings ->System Administration ->System Manager ->Tasks ->Fetch Ports

To install an application from ports:

1. start a terminal program, and become su (root user):

Code:
%su <enter>
Password: <type in root password> <enter>
#
2. Next, go to the application directory, for instance /usr/ports/net/skype and start compilation:

Code:
# cd /usr/ports/net/skype <enter>
# make install clean <enter>
You can combine both lines into one:

Code:
#cd /usr/ports/net/skype && make install clean <enter>

The screen will fill with commands as it reads the source code and starts to compile the program. After a few minutes (or hours in the case of large programs), the application is installed on your system.
__________________
Ian
FitchKendall AT Gmail.com
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
Freshports design contest dracheflieger The Lounge 0 02-11-2007 09:27 PM
Wine 0.9.29,1 in the latest freshports listing dracheflieger The Lounge 2 01-11-2007 01:31 PM


All times are GMT. The time now is 06:20 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.