Slackware, Packages & Repositories


Table of Contents

cmd:slapt-get 
Info 
Source 
Related Urls 
Features 
Help 
useful slapt-get commands 
Slackware Packages 
slapt-get: Verifying checksum signature failed 
slapt-get: Verifying checksum signature failed 
slapt-get: Verifying checksum signature failed 
Slackware Package Management Best Practices 
Slackware Package Management Best Practices 
Slackware Package Management Best Practices 
Slackware's package management from a Debian user point of view 
slapt-get & package dependencies 
Slackware Linux 
Swaret and slapt-get from my point of view 
Compare distros, Debian vs Slackware 
Obtaining And Adding Software 
A look at Slackware's package utilities 
The venerable package tools 
Installing non-slackware packages 
Repository-based tools 
Tools that resolve dependencies 
Portage for Slackware 
Conclusion 
Third-party Repositories 
Third-party Repositories 
Third-party Repositories 
Third-party Repositories 
Third-party Repositories 
How Do You Install Non Officials Packages 
How Do You Install Non Officials Packages 
How Do You Install Non Officials Packages 
What is Your Favorite Package Management 
Reconsidering Vector 
Reconsidering Vector 
Zenwalk & DW awarded 
Finding Slackware packages 

cmd:slapt-get 

Info 

slapt-get is an APT like system for Slackware package management

Features 

http://software.jaos.org/BUILD/slapt-get/README

slapt-get tries to emulate Debian's apt-get as closely as possible.

  • uses native Slackware tools (installpkg, upgradepkg, and removepkg)
  • supports multiple package sources (including linuxpackages.net)
  • cache data concerning packages and updates from package sources
  • supports sources from ftp, ftps, http, https, file:/// and more (libcurl)
  • resumes broken downloads and will verify package integrity with MD5 checksum
  • show packages that are available (from cached data) and installed
  • search package listing using POSIX and extended regular expressions by package name, location, and description
  • retrieve, install, and remove packages by name or by specific version
  • retrieve and apply updates
  • upgrade from one Slackware release to another in a few simple steps
  • show description of packages, including mirror location, version, size, dependencies (where available), conflicts (where available), suggestions (where available), description, installation status, and the package changelog entry (where available).
  • exclude (hold) packages from upgrades, by name or by regular expression
  • transaction engine for install, remove, and upgrades, reporting concise information on what is to be done, ensuring each step happens correctly
  • "compare package version" algorithm to prevent downgrades
  • recursive dependency resolution using slack-required meta-data (see FAQ) supporting hard, soft, and conditional dependencies
  • package conflict resolution using slack-conflicts meta-data (see FAQ)
  • package suggestion support for complimentary packages (see FAQ)
  • Package data download robustness, only writing changes if all sources download successfully as well as only downloading those sources that have changed since the last download
  • i18n support via GNU gettext with over 24 language translations
  • extremely fast and easy to script with

Help 

Quick Help 

http://www.linuxquestions.org/questions/slackware-14/installing-anjuta-depenency-hell-rpms-debs-on-slack-133185/

$ slapt-get --help
slapt-get - Jason Woodward <woodwardj at jaos dot org>
An implementation of the Debian APT system to Slackware
Usage:
slapt-get [option(s)] [target]

Targets:
--update - retrieves pkg data from MIRROR
--upgrade - upgrade installed pkgs
--dist-upgrade - upgrade to newer release
--install [pkg name(s)] - install specified pkg(s)
--remove [pkg name(s)] - remove specified pkg(s)
--show [pkg name] - show pkg description
--search [expression] - search available pkgs
--list - list available pkgs
--installed - list installed pkgs
--clean - purge cached pkgs
--version - print version and license info

Options:
--download-only - only download pkg on install/upgrade
--simulate - show pkgs to be installed/upgraded
--no-prompt - do not prompt during install/upgrade
--reinstall - re-install the pkg
--ignore-excludes - install/upgrade excludes
--no-md5 - do not perform md5 check sum
--no-dep - ignore dependency failures
--disable-dep-check - skip dependency check

useful slapt-get commands 

http://vectorlinux.osuosl.org/docs/vl58/manuals/vl5_slaptget_en.html

Please refer to the documentation for slapt-get: man slapt-get, the HOWTOs at the VL Forum: slapt-get basics and gslapt basics or go to the slapt-get FAQ site for more advanced topics.

You may wish to try some of these slapt-get commands:

  • to list all the available packages from the source repository:

    slapt-get --available
  • to list only those packages that you have already installed:

    slapt-get --installed
  • to search the listings for specific package(s):

    slapt-get --search [packagename(s)]
  • to install (or to upgrade an already installed) package(s):

    slapt-get --install [packagename(s)]
  • to remove packages(s):

    slapt-get --remove [packagename(s)]
  • to clear your temp directory of downloaded packages:

    slapt-get --clean
  • to show a package(s) description:

    slapt-get --show [package(s)]
  • to reinstall an existing package:

    slapt-get --reinstall --install [package]
  • to downgrade a package:

    slapt-get --reinstall --install [exactpackagenameandnumbers]
  • to show a sorted, paged list of available packages from the source repository: slapt-get —available | sort | less
  • to show a sorted, paged list of installed packages on your system:

    slapt-get --installed|sort|less
  • to show a sorted, paged list of available, uninstalled packages:

    slapt-get --available|grep inst=no|sort|less
  • to show only available packages related to e.g. fluxbox:

    slapt-get --available|grep fluxbox
  • to show only available, uninstalled packages specifically packaged for VL5:

    slapt-get --available|grep inst=no|grep vl5|sort|less
  • to install all packages pertaining to e.g. fluxbox:

    slapt-get --available|grep fluxbox|awk '{print $1}'|sort|uniq|xargs -r slapt-get --install
  • to install every available package not yet installed (DANGER!):

    slapt-get --available|grep inst=no|awk '{print $1}'|sort|uniq|xargs -r slapt-get --install

Slackware Packages 

VectorLinux is able to install Slackware packages. However, Slackware does not normally support slapt-get nor do Slackware packages do any dependancy checking. For this reason we do not recommend enabling any Slackware repositories in the /etc/slapt-get/slapt-getrc configuration file (or with gslapt, Edit, Preferences, Sources, Add a Source). The default slapt-get configuration file will enable the user to download and install Vector packages only. Slackware packages which are non-system packages will probably work fine with VL but you may have to install all the dependant packages first and there is no guarantee the package will work properly. If you do decide to load a Slackware package please ensure you download packages built for the correct version of Slackware.