Difference between revisions of "Create PBIs/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(ressurrect the page for very near future changes)
Line 12: Line 12:
 
# '''EasyPBI:''' provides a graphical interface and is available in Control Panel. See the [[Using EasyPBI | EasyPBI ]] section of the Handbook for instructions on how to use this utility.<br>
 
# '''EasyPBI:''' provides a graphical interface and is available in Control Panel. See the [[Using EasyPBI | EasyPBI ]] section of the Handbook for instructions on how to use this utility.<br>
 
# '''pbi_makeport:''' provides a command line utility.
 
# '''pbi_makeport:''' provides a command line utility.
 +
 +
{{note|icon64=before creating a PBI, check to see if one exists using the instructions in [[Submit PBI Requests]]. If you decide that you prefer to request a PBI that you need rather than to create one, that page also contains instructions for submitting a PBI request.}}
 +
 
<noinclude>
 
<noinclude>
 
{{refheading}}
 
{{refheading}}
  
 
</noinclude>
 
</noinclude>

Revision as of 14:30, 31 March 2013

(Sorry for the inconvenience)

PC-BSD® provides a unique file format known as a PBI (push button installer). PBI files end with the .pbi extension and are self-contained installation programs. This means that even novice users can safely install and uninstall PBIs without inadvertently overwriting or deleting files needed by the operating system or other applications.

A PBI file includes all the runtime and library dependencies required by the application. This means that a PBI is a large file, but this does not necessarily mean that the installed PBI will be that large. During installation, the PBI system compares the currently installed libraries and files with the ones contained within the PBI file and only installs the ones that are not already installed on the system. A hash database is used to eliminate dependency problems while allowing the computer to share libraries between different programs.

Once a PBI is created, it can be installed using the graphical AppCafe® utility or from the command line using PBI Manager.

In order to create a PBI, the software must already be ported to FreeBSD. The easiest way to confirm whether or not a FreeBSD port exists is to search for the software at FreshPorts.org[1]. If a port does not exist, you can issue a port request at the PC-BSD® Port Requests forum using these instructions[2]. Alternately, if you have ported software before, the Porters Handbook[3] contains detailed instructions for porting software to FreeBSD.

Creating a PBI from an existing FreeBSD port is a mostly automated process that does not require development skills. Some ports are effortless to convert while more complex ports may require some thought and simple scripting. Two utilities are available for converting a FreeBSD port into a PBI:

  1. EasyPBI: provides a graphical interface and is available in Control Panel. See the EasyPBI section of the Handbook for instructions on how to use this utility.
  2. pbi_makeport: provides a command line utility.
NOTE: Before creating a PBI, check to see if one exists using the instructions in Submit PBI Requests. If you decide that you prefer to request a PBI that you need rather than to create one, that page also contains instructions for submitting a PBI request.


References


  1. http://www.freshports.org
  2. http://forums.pcbsd.org/showthread.php?t=13743
  3. http://www.freebsd.org/doc/en/books/porters-handbook/