Hitchhiker's Guide to Openbsd


Download 1.27 Mb.
Pdf ko'rish
bet239/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   235   236   237   238   239   240   241   242   ...   258
Bog'liq
obsd-faq49

subpackages. This will be detailed further in 
Using flavors and subpackages
 but flavor basically means 
they are configured with different sets of options. Currently, many packages have flavors, for example: 
database support, support for systems without X, or network additions like SSL and IPv6. Every flavor 
of a package will have a different suffix in its package name. For detailed information about package 
names, please refer to 
packages-specs(7)

Note: Not all possible packages are necessarily available on the FTP servers! Some applications simply 
don't work on all architectures. Some applications can not be distributed via FTP (or CDROM) for 
licensing reasons. There may also be many possible combinations of flavors of a port, and the OpenBSD 
project just does not have the resources to build them all. If you need a combination which is not 
available, you will have to build the port from source. For more information on how to do that, read 
Using flavors and subpackages
 in the Ports section of this document. 
15.2.4 - Installing new packages
To install packages, the utility 
pkg_add(1)
 is used. If you have 
made things easy
 for yourself by setting 
the 
PKG_PATH
environment variable, you can just call pkg_add(1) with the package name, as in the 
http://www.openbsd.org/faq/faq15.html (4 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
following basic example. 
sudo pkg_add -v screen-4.0.3p1
parsing screen-4.0.3p1
installed /etc/screenrc from /usr/local/share/examples/
screen/screenrc | 71%
screen-4.0.3p1: complete
In this example the -v flag was used to give a more verbose output. This option is not needed but it is 
helpful for debugging and was used here to give a little more insight into what pkg_add(1) is actually 
doing. Notice the message mentioning /etc/screenrc. Specifying multiple -v flags will produce even 
more verbose output. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   235   236   237   238   239   240   241   242   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling