Hitchhiker's Guide to Openbsd


Download 1.27 Mb.
Pdf ko'rish
bet246/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   242   243   244   245   246   247   248   249   ...   258
Bog'liq
obsd-faq49

More information about the ports system may be found in these manual pages: 

ports(7)
- describes the different stages (make targets) of port installation, the use of flavors and 
subpackages and some other options. 

bsd.port.mk(5)
 - in depth information about all the make targets, variables, the fake (installation 
directory) framework, etc. 
15.3.2 - Fetching the ports tree
Before continuing, you must read the section about NOT 
mixing up your OpenBSD system and ports 
tree
. Once you have decided which flavor of the ports tree you want, you can get the ports tree from 
different sources. The table below gives an overview of where you can find the different flavors, and in 
which form. An 'x' marks availability and '-' means it is not available through that specific source. 
Source
Form
Flavor
-release -stable snapshots -current
CD-ROM
.tar.gz
x
-
-
-
FTP mirrors
.tar.gz
x
-
x
-
AnonCVS
cvs checkout
x
x
-
x
On the CD-ROM and FTP mirrors, look for a file named 
ports.tar.gz
. You want to untar this file 
http://www.openbsd.org/faq/faq15.html (12 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
in the 
/usr
directory, which will create 
/usr/ports
, and all the directories under it. For example: 
cd /tmp
ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.9/ports.tar.gz
cd /usr
sudo tar xzf /tmp/ports.tar.gz
The snapshots available on the FTP mirrors are generated daily from the -current ports tree. You will 
find the snapshots in the 
pub/OpenBSD/snapshots/
directory. If you are using a snapshot of the 
ports tree, you should have installed a matching snapshot of OpenBSD. Make sure you keep your ports 
tree and your OpenBSD system in sync! 
For more information about obtaining the ports tree via AnonCVS, please read the 
AnonCVS page
 
which contains a list of available servers and a number of examples. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   242   243   244   245   246   247   248   249   ...   258




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