To check for a newer version of the PC-BSD® ''PBI-INDEX.txz'' file, type '''sudo pbi_updateindex''' and input your password when prompted. If a newer version is available, this command fetches and extracts it so that the system has the most recent list of available PBIs.

<noinclude>

<noinclude>

Revision as of 10:20, 3 June 2014

PBI ManagerProtection (edit): Edited by: Drulavigne

PBI Manager is a suite of command line utilities which can be used to install, remove, and manage PBIs.

This chapter provides an overview of the commands that are installed by PBI Manager. When using these commands, note that single character options can not be stacked. As an example, you must type pbi_add -i -v as pbi_add -iv will fail with a syntax error.

Contents

pbi

The pbi meta-command can be used to install, uninstall, and get information about PBIs. Unlike the other pbi_* commands, it uses a space instead of an underscore. For example, pbi add is equivalent to pbi_add and either command can be used to install a PBI.

This meta-command expects to be given a sub-command, and then a suitable option for that sub-command. To see the available options for a sub-command, use the built-in help system. For example, to see the available options for the add sub-command, type pkg help add. Table 7.3a summarizes the available sub-commands.

pbi.conf

The pbi_* commands support several environment variables which can be stored in the ASCII text configuration file, /usr/local/etc/pbi.conf. These proxy variables are only needed if the system uses a proxy server to access the Internet. Table 7.3c lists the supported variables.

pbi_icon

The pbi_icon command provides a number of options for adding desktop icons, menu entries, and MIME data for an installed PBI. Not all PBIs will contain desktop/menu/MIME data. Additionally, the window manager must be XDG[1]-compliant to understand a PBI's icon and mime settings. Table 7.3e summarizes this command's options:

pbi_info

list all PBIs installed on the system; same as running pbi_info without an argument

-j <jailname>

list PBIs installed in the specified jail

-v

includes verbose information about each PBI

pbi_update_makeindex

pbi_updateindex

To check for a newer version of the PC-BSD® PBI-INDEX.txz file, type sudo pbi_updateindex and input your password when prompted. If a newer version is available, this command fetches and extracts it so that the system has the most recent list of available PBIs.