Search

Before you install software, you can determine whether the software is available on the Package Server. Note that the search is not case sensitive. A distinction is made between case and lower case only with the suffix -C.

Proceed as follows:

1. Enter the command pkg search <packagename> in the console. Example:
Administrator@CX-3B151A:~ % pkg search docbook
docbook-1.5                 Meta-port for the different versions of the DocBook DTD
docbook-sgml-4.5_1          DocBook SGML DTD
docbook-xml-5.0_3           DocBook XML DTD
docbook-xsl-1.79.1_1,1      XSL DocBook stylesheets
sdocbook-xml-1.1_2,2        "Simplified" DocBook XML DTD
Administrator@CX-3B151A:~ %
2. Several results are displayed.
3. You can view additional information about the package with the command pkg search -R docbook.
---snippet---
name: "docbook"
origin: "textproc/docbook"
version: "1.5"
comment: "Meta-port for the different versions of the DocBook DTD"
maintainer: doceng@FreeBSD.org
www: http://www.oasis-open.org/docbook/
abi: "FreeBSD:12:*"
arch: "freebsd:12:*"
---snippet---
4. Use the additional information to choose the right software.
In the next step you can install the software.