Skip to main content

Slpkg is a user-friendly package manager for Slackware installations

Project description

https://img.shields.io/pypi/v/slpkg.svg https://travis-ci.org/dslackw/slpkg.svg?branch=master https://landscape.io/github/dslackw/slpkg/master/landscape.png https://img.shields.io/codacy/6464ba0bd1e342e28388c71a34b3a5e8.svg https://img.shields.io/pypi/dm/slpkg.svg https://img.shields.io/sourceforge/dt/slpkg.svg https://img.shields.io/badge/license-GPLv3-blue.svg https://img.shields.io/github/stars/dslackw/slpkg.svg https://img.shields.io/github/forks/dslackw/slpkg.svg https://img.shields.io/github/issues/dslackw/slpkg.svg

https://raw.githubusercontent.com/dslackw/images/master/slpkg/slpkg_package.png

About

Slpkg is a powerful software package manager that installs, updates, and removes packages on Slackware based systems. It automatically computes dependencies and figures out what things should occurto install packages. Slpkg makes it easier to maintain groups of machines without having to manually update.

Slpkg works in accordance with the standards of the organization slackbuilds.org to builds packages. Also uses the Slackware linux instructions for installation, upgrading or removing packages.

What makes slpkg to distinguish it from other tools; The user friendliness is its primary target as well as easy to understand and use, also use color to highlight packages and display warning messages, etc.

Features

  • Dependency resolution

  • Dependencies visualizations

  • Multiple options

  • Multiple repositories

  • Easy configuration

  • Fully configurable

  • Adaptability

  • Powerful options

  • Source builder

  • Faster process

  • Better Security

Installation

Download latest release:

Required root privileges

$ tar xvf slpkg-3.1.0.tar.gz
$ cd slpkg-3.1.0
$ ./install.sh

Installed as Slackware package

Uninstall:

$ slpkg -r slpkg

or

$ removepkg slpkg

Using pip:

$ pip install slpkg --upgrade

Uninstall:

$ pip uninstall slpkg

Data remove run from source code:

$ python clean.py

Binary packages:

Slackware: slpkg-3.1.0-i486-1_dsw.txz

Slackware64: slpkg-3.1.0-x86_64-1_dsw.txz

Optional dependencies

python2-pythondialog for dialog box interface

pygraphviz for drawing dependencies diagram

Non-Python/non-PyPI: graph-easy for drawing ascii dependencies diagram

Demonstration

https://raw.githubusercontent.com/dslackw/images/master/slpkg/slpkg_youtube.png

Youtube Asciicasts

Playlist Tutorials

Command Line Tool Usage

Slpkg is a user-friendly package manager for Slackware installations

Usage: slpkg [COMMANDS|OPTIONS] {repository|package...}

                                                 _       _
                                             ___| |_ __ | | ____ _
                                            / __| | '_ \| |/ / _` |
                                            \__ \ | |_) |   < (_| |
                                            |___/_| .__/|_|\_\__, |
                                                  |_|        |___/

Commands:
   update, --only=[...]                      Run this command to update all
                                             the packages list.
   upgrade, --only=[...]                     Delete and recreate all packages
                                             lists.
   repo-add [repository name] [URL]          Add custom repository.
   repo-remove [repository]                  Remove custom repository.
   repo-enable                               Enable or disable default
                                             repositories via dialog utility.
   repo-list                                 Print a list of all the
                                             repositories.
   repo-info [repository]                    Get information about a
                                             repository.
   update slpkg                              Upgrade the program directly from
                                             repository.
   health, --silent                          Health check installed packages.
   deps-status, --tree, --graph=[type]       Print dependencies status used by
                                             packages or drawing dependencies
                                             diagram.
   new-config                                Manage .new configuration files.

Optional arguments:
  -h | --help                                Print this help message and exit.
  -v | --version                             Print program version and exit.
  -a | --autobuild, [script] [source...]     Auto build SBo packages.
                                             If you already have downloaded the
                                             script and the source code you can
                                             build a new package with this
                                             command.
  -b | --blacklist, [package...] --add,      Manage packages in the blacklist.
       --remove, list                        Add or remove packages and print
                                             the list. Each package is added
                                             here will not be accessible by the
                                             program.
  -q | --queue, [package...] --add,          Manage SBo packages in the queue.
       --remove, list, build, install,       Add or remove and print the list
       build-install                         of packages. Build and then
                                             install the packages from the
                                             queue.
  -g | --config, print, edit, reset          Configuration file management.
                                             Print, edit the configuration file
                                             or reset in the default values.
  -l | --list, [repository], --index,        Print a list of all available
       --installed, --name                   packages from repository, index or
                                             print only packages installed on
                                             the system.
  -c | --check, [repository], --upgrade,     Check for updated packages from
       --skip=[...], --resolve--off          the repositories and upgrade or
       --checklist                           install with all dependencies.
  -s | --sync, [repository] [package...],    Sync packages. Install packages
       --resolve-off, --download-only,       directly from remote repositories
       --directory-prefix=[dir], --case-ins  with all dependencies.
  -t | --tracking, [repository] [package],   Tracking package dependencies and
       --check-deps, --graph=[type],         print package dependencies tree
       --case-ins                            with highlight if packages is
                                             installed. Also check if
                                             dependencies used or drawing
                                             dependencies diagram.
  -p | --desc, [repository] [package],       Print description of a package
       --color=[]                            directly from the repository and
                                             change color text.
  -n | --network, [package], --checklist,    View a standard of SBo page in
       --case-ins                            terminal and manage multiple
                                             options like reading, downloading,
                                             building, installation, etc.
  -F | --FIND, [package...], --case-ins      Find packages from each enabled
                                             repository and view results.
  -f | --find, [package...], --case-ins      Find and print installed packages
                                             reporting the size and the sum.
  -i | --installpkg, [options] [package...]  Installs single or multiple *.tgz
       options=[--warn, --md5sum, --root,    (or .tbz, .tlz, .txz) Slackware
       --infobox, --menu, --terse, --ask,    binary packages designed for use
       --priority, --tagfile]                with the Slackware Linux
                                             distribution onto your system.
  -u | --upgradepkg, [options] [package...]  Upgrade single or multiple
       options=[--dry-run, --install-new,    Slackware binary packages from
       --reinstall, --verbose]               an older version to a newer one.
  -r | --removepkg, [options] [package...],  Removes a previously installed
       --deps, --check-deps, --tag,          Slackware binary packages,
       --checklist                           while writing a progress report
       options=[-warn, -preserve, -copy,     to the standard output.
       -keep]                                Use only package name.
  -d | --display, [package...]               Display the contents of installed
                                             packages and file list.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slpkg-3.1.0.tar.gz (118.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page