Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
pkg_add [2015/06/02 11:45] steve |
pkg_add [2015/06/02 11:46] steve [OpenBSD pkg_add] |
||
---|---|---|---|
Line 37: | Line 37: | ||
* [[pkg_info]] | * [[pkg_info]] | ||
* [[pkg_delete]] | * [[pkg_delete]] | ||
+ | * [[pkg_mgr]] | ||
+ | |||
+ | == Setup package repository == | ||
+ | |||
+ | Before you can install anything from OpenBSD's FTP repos, set the ''PKG_PATH'' variable. You can set it in ''.profile'' to make life easy. | ||
+ | |||
+ | <code> | ||
+ | export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -p` | ||
+ | </code> | ||
== Install a package == | == Install a package == |