|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Should i install 2 ports at same time ?
Can i install 2 or more ports at the same time? Or it is better to install port 1 at a time?
Because I'm thinking that port A might related to port B and install together may effect the result. Is that true? |
|
||||
It is possible to make many ports at once but they should not be installed
simultaneously as parallel running processes. To install many ports at once create the subdirectory /usr/ports/myports in which you will list the names of all ports you want to install and their flavours. For instance Code:
graphics/gimp editors/emacs,no_x11 print/texlive Code:
# make BUILD=yes SUBDIRLIST=/usr/ports/myports install Code:
# make BUILD=yes SUBDIRLIST=/usr/ports/myports clean # make BUILD=yes SUBDIRLIST=/usr/ports/myports clean=depends lots of garbage before you clean. For instance when I build all my desktop ports automatically (which is usually about 20 ports) I need at least 12 GB to do it. Once when I clean it they are no more than 2-3GB in total. Be also smart about making many ports at once. It is enough to list xsane and sane-backends will be installed as dependences. I have a careful choice of 15-20 ports which in turn will install all other ports I use as dependence. The above process might take a very long time. In the spirit of OpenBSD project you should actually try to use packages instead of ports whenever possible. The question is how to you install many packages at once. You can make a simple very crude script Code:
#!/bin/sh pkg_add gimp(full name of the package) pkg_add emacs21 pkg_add texlive Many packages do come with OpenBSD specific messages and they require some post installation actions. For instance if you install CUPS you need to execute the script which will replace LPD spooling system with CUPS, alter some permissions, edit /etc/rc.local and /etc/group files. Those can be automatized as well. Last edited by Oko; 18th June 2008 at 04:17 AM. |
|
|||
Yes, this is prudent.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't Print (Fresh First Time install) BSD newb | Xero | FreeBSD Installation and Upgrading | 4 | 15th February 2009 07:11 PM |
cannot install wireshark from ports | ccc | FreeBSD Ports and Packages | 1 | 1st February 2009 05:52 PM |
Trying to install elinks via ports. Not having luck. Need help. | unixdude | FreeBSD Ports and Packages | 2 | 11th November 2008 08:21 AM |
Can't install opera from ports | erno | FreeBSD Ports and Packages | 2 | 25th June 2008 10:25 AM |
Install ports from cd? | xCipherx | OpenBSD Packages and Ports | 5 | 2nd June 2008 06:35 PM |