Installing optional packages
Haiku has a temporary script as a band-aid for the lack of a proper package manager. The script is named installoptionalpackage and allows the end user to easily download and install common pieces of 3rd party software compiled for Haiku.
- Required: Recent Haiku version
- Required: An Internet connection
The command line options of installoptionalpackage
- -a Add one or more packages and all dependencies
- -s Show the final list of packages that would be installed
- -f Remove cached data and list installable packages
- -h Print this help.
- -l List installable packages
Running the script for the first time
The first time you run the installoptionalpackage script, it will build a local cache of the available Haiku sanctioned 3rd party packages in /boot/common/data/optional-packages/. The local cache the installoptionalpackage creates can be cleared via the -f option.
~> installoptionalpackage -l Fetching OptionalPackages ... Fetching OptionalPackageDependencies ... Fetching OptionalBuildFeatures ... Generating a list of Package Names ... ...warning: Beam cannot be installed because of DevelopmentMin ...warning: Bluetooth cannot be installed ...warning: Development cannot be installed ...warning: DevelopmentBase cannot be installed ...warning: DevelopmentMin cannot b