Hitchhiker's Guide to Openbsd


- Building OpenBSD from source


Download 1.27 Mb.
Pdf ko'rish
bet68/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   64   65   66   67   68   69   70   71   ...   258
Bog'liq
obsd-faq49

5.3 - Building OpenBSD from source
5.3.1 - Overview of the building process
Building OpenBSD from source involves a number of steps: 
http://www.openbsd.org/faq/faq5.html (5 of 26)9/4/2011 10:02:02 AM


5 - Building the System from Source

Upgrading to the closest available binary.
 

Fetching the appropriate source code.
 

Building the new kernel and booting from it.
 

Building "userland" ("make build").
 
There are a couple additional steps that some users may wish to perform, depending on the purpose of 
the build and if X is installed: 

Building a "release".

Building X.
5.3.2 - Install or Upgrade to closest available binary
The first step in building from source is to make sure you have the closest available binary installed. Use 
this table to look at where you are, where you wish to go, and what binary you should start with: 
You are at Goal
Binary upgrade to then ...
Old -
release 
New 
release 
Newest release 
Done! 
-release 
-stable 
Newest release 
Fetch & build -stable
Old -stable
-stable 
Newest release 
Fetch & build -stable
-release 
-current 
Latest Snapshot 
(optional) Fetch & build -
current 
Old -
current 
-current 
Latest Snapshot 
(optional) Fetch & build -
current 
It is recommended that you install the binary by using the "Upgrade" option of the install media. If that 
is not possible, you can also unpack the binaries as described 
here
. Regardless, you must do the entire 
upgrade process, including creating any users or other 
/etc
directory changes needed. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   64   65   66   67   68   69   70   71   ...   258




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