Menu

Home

linuxxer2019

Packtools : Binary package management tools for Slackware Linux

This tool is able to handle multiple repository with assigned priority. While performing any task packages get selected as per assigned priority. This tool tries to compatible with existing Slackware package management tool known as slackpkg. Except that it also works in Ncurses mode to perform simple task easy to use.

It has own tool (named slackman) For performing a low level task like to install, remove and upgrade the packages.

This tool is actively under development to make it more stable and suitable for any work environment.

Usage

Getting Help

# packtool --help
# packtool --version

Update package source metadata

# packtool update

Basic task

# packtool install mozilla-firefox
# packtool remove  mozilla-firefox
# packtool upgrade mozilla-firefox

Slackpkg similar functionality

# packtool upgrade-all
# packtool install-new
# packtool clean-system

Additional functionality

  • sys-upgrade : Similar to upgrade-all, install-new, clean-system.
  • changelog : Display ChangeLog.txt file.
  • browse : Browse the package source.
  • tasklist : Prompt for the package selection and provide the facility to save/clear the tasklist.
  • trigger : Provide interface to run command after package installation eg. generate initrd and Grub configuration.

List of functionality provided by this tool

upgrade
install
reinstall
remove
info
search
file-search
browse
tasklist
upgrade-all
clean-system
sys-upgrade
source-info
update
new-config
changelog
trigger

Configuration

Package source configuration

# File : /etc/packtools/sources/slackware.cfg
NAME=slackware
IDNUM=431940
DESC="Slackware Official Repository"
SOURCE=ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-current slackware64 testing extra
CHANGELOG=ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-current
ARCH=x86_64
TAG=_slack
PRIORITY=99
CHECKGPG=on
CHECKMD5=on

Package preference configuration

# File : /etc/packtools/preference
# PAN Testing packages
slackware:testing/packages/PAM/
# Pure alsa system
slackware:extra/pure-alsa-system/
alien/vlc

Package blacklisting

# File : /etc/packtools/blacklist
[0-9]+_SBo
xf86-video-nouveau
sbopkg

Slackman options

--install / --install-new
--reinstall
--remove
--upgrade
--backup
--new-cofig

SlackBuild

For Slackware 14.2

env BRANCH=stable ./packtools.SlackBuild

For Slackware Curreent

env BRANCH=current ./packtools.SlackBuild

Developer

Name : Linuxxer
Email : linuxxer2019@gmail.com

Suggestions and feedbacks are welcome.

Freenode IRC

You might find me as Linuxxer2019 in channel ##slackware on Freenode IRC.

Thanks
Linuxxer