Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| pkgprimer [2013/11/16 21:02] – add pkg info -o DanLangille | pkgprimer [2017/08/23 13:17] (current) – Add to CategoryHowTo and fix a typo MateuszPiotrowski | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| | get list of installed packages | // | | get list of installed packages | // | ||
| | get basic information about a package | //pkg_info pkgname-pkgversion// | | get basic information about a package | //pkg_info pkgname-pkgversion// | ||
| - | | get detailled | + | | get detailed |
| | list all files contained in an installed package | //pkg_info -L pkgname-pkgversion// | | list all files contained in an installed package | //pkg_info -L pkgname-pkgversion// | ||
| | find which package provide an installed file | //pkg_info -W / | | find which package provide an installed file | //pkg_info -W / | ||
| Line 21: | Line 21: | ||
| | install a remote package | //pkg_add -r mypackage// | //pkg install mypackage// OR //pkg install category/ | | install a remote package | //pkg_add -r mypackage// | //pkg install mypackage// OR //pkg install category/ | ||
| | search for a remote package | N/A | //pkg search mypackage// OR //pkg search category/ | | search for a remote package | N/A | //pkg search mypackage// OR //pkg search category/ | ||
| - | | search for detailled | + | | search for detailed |
| | show reverse dependencies of an installed package | //pkg_info -R pkgname-pkgversion// | | show reverse dependencies of an installed package | //pkg_info -R pkgname-pkgversion// | ||
| | show dependencies of an installed package | //pkg_info -r pkgname-pkgversion// | | show dependencies of an installed package | //pkg_info -r pkgname-pkgversion// | ||
| Line 127: | Line 127: | ||
| * ${POUDRIERE_DATA}/ | * ${POUDRIERE_DATA}/ | ||
| - | Configure | + | Configure |
| On your user boxes: (if you use the automatic bootstrap it will take care of creating this file) | On your user boxes: (if you use the automatic bootstrap it will take care of creating this file) | ||
| Line 141: | Line 141: | ||
| From 9.1 you can directly bootstrap from the base: | From 9.1 you can directly bootstrap from the base: | ||
| - | Before 9.1 you will need to boostrap | + | Before 9.1 you will need to bootstrap |
| < | < | ||
| Line 159: | Line 159: | ||
| ==== Using portbuilder inside a jail ==== | ==== Using portbuilder inside a jail ==== | ||
| - | When building 9-stable ports in a 9-stable jail under -current you might want to set the UNAME_r | + | When building 9-stable ports in a 9-stable jail under -current you might want to set the UNAME_r |
| * setenv | * setenv | ||
| Line 166: | Line 166: | ||
| Else some ports won't build properly. | Else some ports won't build properly. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | {{tag> | ||