version 1.3, 2019/05/10 07:34:12
|
version 1.4, 2019/05/10 09:02:04
|
Line 6 There are various techniques for upgradi
|
Line 6 There are various techniques for upgradi
|
|
|
# Methods using only binary packages |
# Methods using only binary packages |
|
|
|
|
|
## pkgin |
|
|
|
The recommended way to manage your system with binary packages is by using [pkgtools/pkgin](http://pkgsrc.se/pkgtools/pkgin). |
|
|
|
pkg_add pkgin |
|
|
|
Then configure your binary repository from which you want to install packages in /usr/pkg/etc/pkgin/repositories.conf. |
|
Run 'pkgin update' to get the list of available packages. You can then install packages using 'pkgin install firefox'. |
|
|
|
To update all installed packages, just run |
|
|
|
pkgin update |
|
pkgin full-upgrade |
|
|
|
|
## pkg_add -uu |
## pkg_add -uu |
|
|
pkg_add's -u option is used to update a package. Basically: it saves the package's current list of packages that depend on it (+REQUIRED_BY), installs the new package, and replaces that list of dependencies. |
pkg_add's -u option is used to update a package. Basically: it saves the package's current list of packages that depend on it (+REQUIRED_BY), installs the new package, and replaces that list of dependencies. |