User Tools

Site Tools








Software Management

In Slint software is provided as packages that can be installed, removed and updated.

The packages shipped in the installation ISO come from these repositories:

These sources of packages are registered in the file /etc/slapt-get/slapt-getrc. You can also change these sources or even add some, but is risky and not recommended for beginners, apart from possibly adding local sources of packages.

The packages included in all repositories but Slackware are listed in this page, that also indicates the priorities among the packages sources.

After having installed Slint, you be automatically notified of updates of installed packages coming from repositories registered in /etc/slapt-get/slapt-getrc

You can install additional packages coming from the Salix and Extra-14.2 repositories using the commands slapt-get, or the graphical application gslapt.

You want an application not available in one of these repositories? If the components needed to build it are available in one of the “source” repositories slkbuild or sbo you can use one of the commands slapt-src or spi, or the graphical application sourcery to build and install a package for it.

However, this is more advised for experienced users, as in this case you can occasionally encounter issues like missing dependencies or conflicts with installed packages: the components used to build the packages are provided by volunteers who can not check the results in every possible configuration.

If you have enough experience you can also build packages yourself. If you are interested see how to do that in the Salix and Slackware documentations on the web: these distributions use two different methods with identical results: packages in the Slackware format, that can be installed in both distributions as in Slint, and Slint provides all needed tools, like makepkg, fakeroot and slkbuild.

  • Always use the provided tools to perform software packages management.
  • Do not compile and install manually a software, without (possibly making then) installing a package, else your system would soon be messed up.

Some package management tools are accessed in Graphical mode (from a menu or clicking on an icon) others in Terminal mode (typing a command in terminal). All the commands should be typed as root, i.e. with administrative privileges. To use them:

  • In Terminal mode click on the Terminal Emulator picture in the bottom panel to display a terminal, put the mouse over or click on the terminal's window then type su (for: Super User) and when asked, type root's password.
  • In Graphical mode, just click on the menu entry or in the icon in the Slint Control Center and when asked, type the root's password.

To know the usage of the command accessed from a terminal, type “<command name> –help”. example for the spi command:

didier[~]$ spi --help

You can get more in-depth information typing e.g. man spi instead of spi –help (no need to be root for that).

Here are the tools intended for end users. Those in bold are the ones you will use most of the time for packages installation and updates

Command Access Purpose Comments
installpkg Terminal Install a package already downloaded You can use spkg instead
removepkg Terminal Remove an installed package You can use spkg instead
upgradepkg Terminal Replace an installed package You can use spkg instead
spkg Terminal Install, remove and upgrade packages Does not download packages
slapt-get Terminal Search, download and install packages Manage dependencies
slapt-src Terminal Search, downloads the components, builds and install packages Used when a already built package is not available
spi Terminal Do most tasks of slapt-get for already built packages, else of slapt-src
gslapt Graphical Graphical front-end for slapt-get Accessible from the Slint Control Center
sourcery Graphical graphical front-end for slapt-src Accessible from the Slint Control Center

Keep your system up to date

Due to a bug in the ISO version 14.2 updating your system globally just after installation could make it unusable, unless you first upgrade the package spkg. To avoid this type as root in a terminal right after installation:
slapt-get -u
slapt-get -i spkg

You need to keep your system safe installing the software updates as soon as available:

  • After Slint installation run in a terminal as root one of these commands:
    spi -u
    slapt-get -u

    or from the Slint Control Center (Applications) or the menu click on Gslapt, give the password for root then click Update. This updates the files that records the software packages available on the software repositories. You need to do hat only once, unless you modify the sources in /etc/slapt-get/slapt-getrc.

  • A small icon like this is displayed to notify of available software updates. Just make a left click on it and follow instructions.

Be aware that some packages are blacklisted in /etc/slapt-get/slapt-getrc, i.e. can not be automatically upgraded or installed.

Search, install and remove packages

Both spi and slapt-get have a --search option or target, see their man pages or the --help option. gslapt has a search field. All these tools can then install the chosen packages, and also remove already installed packages.

Avoid to remove packages shipped in the Slint ISO, even if you do not use them at all. Removing an included package will result in no increase in performance and could prevent other applications to run. Also, if you have added a package not included in Slint you may remove it but be careful that the removed package be not a dependency of other ones that you also installed and intend to continue using.
en/software_management.txt · Last modified: 2017/07/09 08:02 by didier