ae23 Multiple installs - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 3rd, 2009, 23:11
murias murias is offline
Junior Member
 
Join Date: Jan 2009
Posts: 39
Thanks: 13
Thanked 0 Times in 0 Posts
Default Multiple installs

With all the port and pkg tools is there a way to do multiple installs at once?

Hypothetically, lets say in the ports tree there are all of the perl5 modules in there, and there are quite a number of them. Is there a way to install all of them with maybe only one command, instead of needing to portinstall, or cd /usr/ports/www/p5xxxxx && make install clean for each one?

Thanx,
Murias
Reply With Quote
  #2  
Old February 3rd, 2009, 23:34
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,838
Thanks: 30
Thanked 1,888 Times in 1,333 Posts
Default

What's wrong with 'portinstall port1 port 2 port3 .. [portN]' or 'portinstall p5*'?
Reply With Quote
The Following User Says Thank You to DutchDaemon For This Useful Post:
murias (February 4th, 2009)
  #3  
Old February 4th, 2009, 00:34
murias murias is offline
Junior Member
 
Join Date: Jan 2009
Posts: 39
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
What's wrong with 'portinstall port1 port 2 port3 .. [portN]' or 'portinstall p5*'?
seems that nothing is wrong with that... Except that maybe I should have read the man page for portinstall and seen the pkg_glob part.

Appreciate you pointing that out though. each version of unix has its own little quarks and diffs.

Cheers
Reply With Quote
  #4  
Old February 4th, 2009, 11:03
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,838
Thanks: 30
Thanked 1,888 Times in 1,333 Posts
Default

Ok. If you are going to use portinstall to install a lot of ports at once, I advise you to use category/port for every port ('portinstall mail/postfix'), or the installation will halt when portinstall is unsure about which port you mean in case of naming ambiguities.

The easiest way to find those (I feel) is to install 'psearch' from ports, which will print those category/port combinations.

The good thing about portinstall is that it will install the ports in the right order (dependency-wise), which is not necessarily the command-line order you're using. I'd also advise using -c or -C when installing a lot of ports, or you'll have those blue config screens waiting for you to press 'enter', usually right after you've left the room or gone to bed.
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
Swap partitions on multiple SCSI drives agis Installing & Upgrading 19 February 8th, 2010 20:38
Carp - Multiple instances synchronization sai Firewalls 1 January 20th, 2009 17:45
Multiple OS - directory structure problem petike General 10 January 7th, 2009 07:01
starting multiple instance of same daemon from rc.conf alief Installing & Upgrading 3 December 11th, 2008 17:36


All times are GMT +1. The time now is 09:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0