Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Using binary packages
Clone this wiki locally
Binary packages in GoboLinux are precompiled software packages built for the GoboLinux directory tree and made available through the GoboLinux software repository (recipe store). Since these packages are already compiled, you can save the many hours needed to build larger applications. On the other hand, with binary packages you don't have the ability to set compile flags for optimization or specific architectures.
The script will check if the package is available in the GoboLinux repositories. (See /System/Settings/GetAvailable.conf for the specific URLs scanned. You may add your own repositories if you desire.)
If you want to select a specific version, you can pass it as the second parameter:
InstallPackage Gimp 2.8.18
If you downloaded the package and want to install it, run:
The script normally runs interactively, asking about each
dependency of the requested package before installing it.
You can avoid these queries by adding the
-b flag. This is
particularly useful with large packages such as Gimp or Xorg,
which have many dependencies.
InstallPackage -b Gimp
InstallPackage will warn you if dependencies of a package you are trying to install are unavailable and ask if you want to continue. This is valuable, because some software may still work satisfactorily even if a particular plug-in or other dependency is missing.
See this page.
In GoboLinux, all binary packages (as well as all user-compiled software) is installed under /Programs in a "program directory" provided for each version of each application, for example:
When compiling software under GoboLinux the installation target directories such as bin/, lib/, and etc/ that are required for a typical program are placed inside the program directory.
With this self-contained directory structure, all that is needed to generate a binary package is to make a tarball of the program directory, copy over the Resources/ directory from the Compile recipe, and generate a few additional files, which are also placed under Resources/.
This is accomplished by the CreatePackage command.
To learn more you can read about the Structure of binary packages.
Before creating a package, be careful to vet the contents of the program's Settings/ directory to ensure that it does not include personal information.
A package submitted for inclusion in the GoboLinux packages repository must have sensible default settings, honoring the application defaults if possible.
In order to create a package, run the CreatePackage utility with the package name as a parameter. For example,
will create a binary package in the current working directory.