“A few months ago when I reviewed PC-BSD 8.0, some people mentioned the reason they weren’t attracted to the FreeBSD-based operating system was the lack of available PBI packages. The PC-BSD system can make use of the large FreeBSD Ports collection, but for people who want to access their software in a point-n-click manner, they need Push Button Installer (PBI) files. This strikes me as a classic chicken and egg problem: more people would be attracted to PC-BSD if it had a greater number of pre-built packages and additional packages would get built if there were more people running PC-BSD. In an effort to help break that vicious cycle, I set out to learn how to make PBI packages and I want to pass on the knowledge I gained along the way.
Before we get into the details, I’m going to assume in this walk-through that you already know how to compile software. You don’t need to have previous experience packaging software into other formats, such as DEB or RPM files, but you should feel comfortable compiling programs from source code. To get started, we’ll need to have a copy of PC-BSD 8 installed on our computer or in a virtual machine. The first thing we will want to do is install the PBI Creator program, which can be downloaded from here.”
Jesse concludes this guide with:
Though it may seem like a lot at first, the bulk of the work is in making sure the software compiles before it’s packaged. Most of the steps after that are handled in a friendly fashion by the PBI Creator wizard. Personally, I found creating PBI packages much faster and more intuitive than the first times I tackled building DEB or RPM files. There’s very little command-line work, only one packaging tool to install and no editing of cryptic specification files.
For those interested in creating PBI’s, there’s something is in the oven and it’s going to be nice…..