Getting started
Installation instructions
Several steps are needed in order to use M:Tier's OpenBSD stable packages, these are listed below:
1) Install the M:Tier certificate
Retrieve the certificate(证书链接) and install it into:2) Update your PKG_PATH复制代码
- /etc/ssl/pkgca.pem
Please update your $PKG_PATH environment variable to:For example:复制代码
- PKG_PATH=https://stable.mtier.org/updates/$(uname -r)/$(arch -s):${PKG_PATH}
For OpenBSD 5.3 and later both binpatches and packages are available, for OpenBSD 5.2 only binpatches are available.复制代码
- PKG_PATH=http://ftp.fr.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(arch -s)
- PKG_PATH=https://stable.mtier.org/updates/$(uname -r)/$(arch -s):${PKG_PATH}
- export PKG_PATH
Usage
Updating all packages to their latest stable version is just a matter of running:Installing binpatches复制代码
- pkg_add -u
Since binpatches will update parts of the base system, you have to manually install them for now. When an update is available for a binpatch you will be able to update it with pkg_add -u like a regular package.
Installing a binpatch works just like a regular package. So for example:复制代码
- pkg_add binpatch53-amd64-kernel-1.0.tgz
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |