SliTaz Man Pages

Community Doc Forum Pro Shop Bugs Hg Cook

Spk

Section: User Commands (1)
Updated: 29.01.2016
Index Return to Main Contents

SliTaz Packages Toolset

SliTaz packages management new generation, fast, clean and unbloated. Spk consists of small separate programs for easier code maintenance and uses a shared library. Spk can handle multiple packages on a cmdline as well as the ability to manage your own mirror.

Graphical user interface

The Spk toolkit provides an Ncurses dialog interface for all basic tasks. You must use the up-down arrow and ENTER to activate a button or you can use your mouse to select menu items and press on the buttons. Spk-dialog can be found in the desktop menu under "System Tools" and can be run in the Linux framebuffer or an X terminal.

Cmdline usage and help

All spk tools provide a small built-in help usage that you can display with the command 'usage' or 'help'. It also has some options to perform special tasks on a package before executing a task or afterwards. To get help and usage:
# spk usage
# spk-add help

Packages info

To get the packages status and information:
# spk busybox glib

Add packages

Spk will handle dependencies. To install new packages simply use 'spk-add' or the --add option:
# spk-add package1 package2
# spk package --add

Remove packages

To remove packages simply:
# spk-rm package1 package2 ...

Packages update

To get the last list of packages and to update your system you have to use

you upgrade the full system at once (skipping blocked packages) or you can also upgrade packages individually:

# spk-up
# spk-up package1 package2 ...

Find packages

The spk-find util finds a package from a full packages list available on the mirror:
# spk-find package

List packages & files

Spk-ls lets you get the list of installed or mirrored packages as well as the list of files installed by a package:
# spk-ls --short
# spk-ls gcc-lib-base

Index

SliTaz Packages Toolset
Graphical user interface
Cmdline usage and help
Packages info
Add packages
Remove packages
Packages update
Find packages
List packages & files