Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
pkg_add [2014/09/30 15:51] 127.0.0.1 external edit |
pkg_add [2015/06/02 11:46] steve [OpenBSD pkg_add] |
||
---|---|---|---|
Line 35: | Line 35: | ||
* [[OpenBSD]] | * [[OpenBSD]] | ||
+ | * [[pkg_info]] | ||
+ | * [[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 == |