Skip to content

System Software

Michał Tomaszkiewicz edited this page Oct 1, 2024 · 14 revisions

Paka

paka Is the system's package manager. Some packages are provided in source form.

usage: paka [command] [option]

Commands:

package -D or package --download <package to download> Downloads a package

package -C or package --uninstall <package to uninstall> Safely uninstalls a package and all its dependencies

package -R or package --remove <package to uninstall> Uninstalls a package, but keeps all dependencies

Switches:

--sandbox Installs all packages in sandbox mode, meaning that the root installation folder is no longer / but a subdirectory in /tmp/paka-sandbox-(package name)

--debug Displays additional information

Paka Formula File Syntax

Paka uses formula files to download, configure and install software on your system. All formula files can be found in /programs/system/paka/formula

Formula files have 3 "procedures" INFO INSTALL 'REMOVE'

the INFO procedure contains all package metadata

the INSTALL procedure contains installation instructions, and the REMOVE procedure contains removal instructions

Procedures

INFO:

`SRC_URL` - [Required] The package URL to download
`AUTO_REMOVE` [Optional] Whether to use the auto remove feature. This feature tries to remove the files installed by the package. The list of potential files is located in the local package database `/programs/system/paka/db`
`BIN | SRC` [Optional] indicates the package type
`LIB` [Optional] indicates the package kind
`HOLD` [Optional] If enabled, temporary data of the package won't be removed
`NO_DOWNLOAD` [Optional] If enabled, Paka won't attempt to download `SRC_URL`

Freeze

freeze Is the tool for creating operating system builds for distribution

Breeder

breeder.sh Is used to create bootable images of IterkoczeOS from releases generated by freeze

Clone this wiki locally