Difference between revisions of "Create PBIs/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 11: Line 11:
  
 
<!--T:4-->
 
<!--T:4-->
Once a PBI is created, it can be installed using the graphical [[AppCafe®]] utility or from the command line using [[PBI Manager]].
+
Once a PBI is created, it can be installed using the graphical {{local|link=AppCafe®}} utility or from the command line using {{local|link=PBI Manager}}.
  
 
<!--T:5-->
 
<!--T:5-->
Line 20: Line 20:
  
 
<!--T:7-->
 
<!--T:7-->
* '''[[EasyPBI2]]:''' provides a graphical interface and is available in [[Control Panel]].
+
* '''{{local|link=EasyPBI2}}:''' provides a graphical interface and is available in {{local|link=Control Panel}}.
  
 
<!--T:8-->
 
<!--T:8-->
* '''[[PBI_Module_Builder_Guide#Creating_a_New_PBI_with_pbi_makeport|pbi_makeport]]:''' provides a command line utility as part of the PBI Manager suite.
+
* '''{{local|link=PBI_Module_Builder_Guide|anchor=Creating_a_New_PBI_with_pbi_makeport|pbi_makeport}}:''' provides a command line utility as part of the PBI Manager suite.
  
 
<!--T:9-->
 
<!--T:9-->
{{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.}}
+
{{note|icon64=before creating a PBI, check to see if one exists using the instructions in {{local|link=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.}}
  
 
<!--T:32-->
 
<!--T:32-->

Revision as of 10:42, 10 December 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:

  • pbi_makeport: provides a command line utility as part of the PBI Manager suite.
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/
Other languages:German 5% • ‎English 100% • ‎French 2%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox