Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pkgprimer [2013/11/16 21:02] – add pkg info -o DanLangillepkgprimer [2017/08/23 13:17] (current) – Add to CategoryHowTo and fix a typo MateuszPiotrowski
Line 15: Line 15:
 | get list of installed packages | //pkg_info// | //pkg info// | | get list of installed packages | //pkg_info// | //pkg info// |
 | get basic information about a package | //pkg_info pkgname-pkgversion// | //pkg info pkgname// OR //pkg info category/name// OR //pkg info pkgname-pkgversion// | | get basic information about a package | //pkg_info pkgname-pkgversion// | //pkg info pkgname// OR //pkg info category/name// OR //pkg info pkgname-pkgversion// |
-| get detailled information about a package | N/A | //pkg info -f pkgname// OR //pkg info -f category/name// OR //pkg info -f pkgname-pkgversion// |+| get detailed information about a package | N/A | //pkg info -f pkgname// OR //pkg info -f category/name// OR //pkg info -f pkgname-pkgversion// |
 | list all files contained in an installed package | //pkg_info -L pkgname-pkgversion// | //pkg info -l pkgname// OR //pkg info -l category/name// OR //pkg info -l pkgname-pkgversion// | | list all files contained in an installed package | //pkg_info -L pkgname-pkgversion// | //pkg info -l pkgname// OR //pkg info -l category/name// OR //pkg info -l pkgname-pkgversion// |
 | find which package provide an installed file | //pkg_info -W /path/to/my/file// | //pkg which /path/to/my/file// | | find which package provide an installed file | //pkg_info -W /path/to/my/file// | //pkg which /path/to/my/file// |
Line 21: Line 21:
 | install a remote package | //pkg_add -r mypackage// | //pkg install mypackage// OR //pkg install category/name// OR //pkg install pkgname-pkgversion// | | install a remote package | //pkg_add -r mypackage// | //pkg install mypackage// OR //pkg install category/name// OR //pkg install pkgname-pkgversion// |
 | search for a remote package | N/A | //pkg search mypackage// OR //pkg search category/name// OR //pkg search pkgname-pkgversion// | | search for a remote package | N/A | //pkg search mypackage// OR //pkg search category/name// OR //pkg search pkgname-pkgversion// |
-| search for detailled informations about a remote package | N/A | //pkg search -f mypackage// OR //pkg search -f category/name// OR //pkg search -f pkgname-pkgversion// |+| search for detailed informations about a remote package | N/A | //pkg search -f mypackage// OR //pkg search -f category/name// OR //pkg search -f pkgname-pkgversion// |
 | show reverse dependencies of an installed package | //pkg_info -R pkgname-pkgversion// | //pkg info -r mypackage// OR //pkg info -r category/name// OR //pkg info -r pkgname-pkgversion// | | show reverse dependencies of an installed package | //pkg_info -R pkgname-pkgversion// | //pkg info -r mypackage// OR //pkg info -r category/name// OR //pkg info -r pkgname-pkgversion// |
 | show dependencies of an installed package | //pkg_info -r pkgname-pkgversion// | //pkg info -d mypackage// OR //pkg info -d category/name// OR //pkg info -d pkgname-pkgversion// | | show dependencies of an installed package | //pkg_info -r pkgname-pkgversion// | //pkg info -d mypackage// OR //pkg info -d category/name// OR //pkg info -d pkgname-pkgversion// |
Line 127: Line 127:
   * ${POUDRIERE_DATA}/packages/90amd64-default   * ${POUDRIERE_DATA}/packages/90amd64-default
  
-Configure you http server to those directories to be able to serve them.+Configure your http server to those directories to be able to serve them.
  
 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 by hand:+Before 9.1 you will need to bootstrap by hand:
  
 <code> <code>
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 enviroment variable to fake the %%FreeBSD%% version in /path_to_my_jail/root/.cshrc . Some examples:+When building 9-stable ports in a 9-stable jail under -current you might want to set the UNAME_r environment variable to fake the %%FreeBSD%% version in /path_to_my_jail/root/.cshrc . Some examples:
  
   * setenv      UNAME_r 9-STABLE   * setenv      UNAME_r 9-STABLE
Line 166: Line 166:
  
 Else some ports won't build properly. Else some ports won't build properly.
 +
 +----
 +
 +{{tag>HowTo}}
  
  • pkgprimer.1384635757.txt.gz
  • Last modified: 2013/11/16 21:02
  • by DanLangille