You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

88 lines
2.1 KiB

  1. .\"
  2. .\" FreeBSD pkg - a next generation package for the installation and maintenance
  3. .\" of non-core utilities.
  4. .\"
  5. .\" Redistribution and use in source and binary forms, with or without
  6. .\" modification, are permitted provided that the following conditions
  7. .\" are met:
  8. .\" 1. Redistributions of source code must retain the above copyright
  9. .\" notice, this list of conditions and the following disclaimer.
  10. .\" 2. Redistributions in binary form must reproduce the above copyright
  11. .\" notice, this list of conditions and the following disclaimer in the
  12. .\" documentation and/or other materials provided with the distribution.
  13. .\"
  14. .\"
  15. .\" @(#)pkg.8
  16. .\" $FreeBSD$
  17. .\"
  18. .Dd November 18, 2014
  19. .Dt PKG-SHELL 8
  20. .Os
  21. .Sh NAME
  22. .Nm "pkg shell"
  23. .Nd interact with the pkg database
  24. .Sh SYNOPSIS
  25. .Nm
  26. .Sh DESCRIPTION
  27. .Nm
  28. is used to interact with the local or remote database through a sqlite3 console.
  29. Extreme care should be taken when using this command.
  30. .Pp
  31. Do not rely on this command.
  32. The underlying schema is subject to change on any release.
  33. Use
  34. .Xr pkg-query 8 ,
  35. .Xr pkg-rquery 8 ,
  36. .Xr pkg-search 8
  37. and
  38. .Xr pkg-set 8
  39. instead for querying and modifying the database.
  40. These commands are expected to have a stable API, unlike the database schema.
  41. .Sh ENVIRONMENT
  42. The following environment variables affect the execution of
  43. .Nm .
  44. See
  45. .Xr pkg.conf 5
  46. for further description.
  47. .Bl -tag -width ".Ev NO_DESCRIPTIONS"
  48. .It Ev PKG_DBDIR
  49. .El
  50. .Sh FILES
  51. See
  52. .Xr pkg.conf 5 .
  53. .Sh SEE ALSO
  54. .Xr pkg_printf 3 ,
  55. .Xr pkg_repos 3 ,
  56. .Xr pkg-repository 5 ,
  57. .Xr pkg.conf 5 ,
  58. .Xr pkg 8 ,
  59. .Xr pkg-add 8 ,
  60. .Xr pkg-annotate 8 ,
  61. .Xr pkg-audit 8 ,
  62. .Xr pkg-autoremove 8 ,
  63. .Xr pkg-backup 8 ,
  64. .Xr pkg-check 8 ,
  65. .Xr pkg-clean 8 ,
  66. .Xr pkg-config 8 ,
  67. .Xr pkg-convert 8 ,
  68. .Xr pkg-create 8 ,
  69. .Xr pkg-delete 8 ,
  70. .Xr pkg-fetch 8 ,
  71. .Xr pkg-info 8 ,
  72. .Xr pkg-install 8 ,
  73. .Xr pkg-lock 8 ,
  74. .Xr pkg-query 8 ,
  75. .Xr pkg-register 8 ,
  76. .Xr pkg-repo 8 ,
  77. .Xr pkg-rquery 8 ,
  78. .Xr pkg-search 8 ,
  79. .Xr pkg-set 8 ,
  80. .Xr pkg-shlib 8 ,
  81. .Xr pkg-ssh 8 ,
  82. .Xr pkg-stats 8 ,
  83. .Xr pkg-update 8 ,
  84. .Xr pkg-updating 8 ,
  85. .Xr pkg-upgrade 8 ,
  86. .Xr pkg-version 8 ,
  87. .Xr pkg-which 8