Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2006, 09:58 AM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default Making a Package Repository
Quote:
Another handy trick is making a package repository. This can be both a time- and bandwidth-saver if you need to install software on multiple machines in a network. It is also ideal for installing software on server machines, as you don't have to install the entire ports collection just to install your required applications.
Code:
# mkdir /usr/ports/packages
Then create the packages you need. Here, I'll create two packages:
Code:
# cd /usr/ports/www/lynx
# make package
# cd /usr/ports/mail/getmail
# make package
Other way to make binary packages is to use portinstall:
Code:
# portinstall -p somelargepackage
When you use make package, two things happen. One, a package is created and stored in a subdirectory of /usr/ports/packages. Second, the port is installed on the local machine, if it hasn't already been installed. If you don't want to keep the application installed on the machine acting as the package repository, simply type make deinstall once the package has been created. You can add packages with pkg_add command later to other computers or use em as PBI package source.

Read more here.
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
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
Making PC-BSD use vesa vivin General Questions 2 07-22-2007 06:24 AM
making a gaim 1.4.0 pbi slavik Creating PC-BSD Packages (.pbi files) 6 08-05-2005 04:58 PM
VLC Player PBI in the making. sblevin General Questions 25 07-23-2005 07:50 AM
PC BSD repository mario_net General Questions 8 07-11-2005 05:28 PM


All times are GMT. The time now is 03:26 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, 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.