Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/handbook/ports/_index.adoc
Show First 20 Lines • Show All 664 Lines • ▼ Show 20 Lines | |||||
**** | **** | ||||
*Procedure: Portsnap Method* | *Procedure: Portsnap Method* | ||||
The base system of FreeBSD includes Portsnap. | The base system of FreeBSD includes Portsnap. | ||||
This is a fast and user-friendly tool for retrieving the Ports Collection and is the recommended choice for most users not running FreeBSD-CURRENT. | This is a fast and user-friendly tool for retrieving the Ports Collection and is the recommended choice for most users not running FreeBSD-CURRENT. | ||||
This utility connects to a FreeBSD site, verifies the secure key, and downloads a new copy of the Ports Collection. | This utility connects to a FreeBSD site, verifies the secure key, and downloads a new copy of the Ports Collection. | ||||
The key is used to verify the integrity of all downloaded files. | The key is used to verify the integrity of all downloaded files. | ||||
Note that Portsnap updates are generated from a snapshot of the main | |||||
branch of the Ports Collection and cannot be configured to use a | |||||
different branch (for example, `quarterly`). | |||||
If it is necessary to use a different branch of the Ports Collection | |||||
(for instance as referenced earlier in conjunction with binary | |||||
packages), then the <<ports-using-git-method,Git method>> must be used. | |||||
. To download a compressed snapshot of the Ports Collection into [.filename]#/var/db/portsnap#: | . To download a compressed snapshot of the Ports Collection into [.filename]#/var/db/portsnap#: | ||||
+ | + | ||||
[source,shell] | [source,shell] | ||||
.... | .... | ||||
# portsnap fetch | # portsnap fetch | ||||
.... | .... | ||||
+ | + | ||||
. When running Portsnap for the first time, extract the snapshot into [.filename]#/usr/ports#: | . When running Portsnap for the first time, extract the snapshot into [.filename]#/usr/ports#: | ||||
▲ Show 20 Lines • Show All 651 Lines • Show Last 20 Lines |