pkgtool is the base for Slackware package management
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
pkgtool is the base for Slackware package management
Hi,
Earlier I presented; Slackpkg+ is a useful addition as a tool for new users to be aware of for Slackware packages. You will still have 'slackpkg' installed by original installation but it does not have some of the abilities of slackpkg+.
I should have introduced 'pkgtool' since most new users are exposed via the original installation of their Slackware Gnu/Linux installation process.
pkgtools: pkgtools (The Slackware package maintenance system) pkgtools: pkgtools: This package contains utilities for handling Slackware packages.
pkgtools: Included are the command line utilities 'installpkg', 'removepkg',
pkgtools: 'makepkg', 'explodepkg', and 'upgradepkg' that install, remove,
pkgtools: build, examine, and upgrade software packages. Also included are
pkgtools: 'pkgtool', a menu based program for installing packages, removing
pkgtools: packages, or viewing the packages that are installed on the system,
pkgtools: documentation (man pages), and a few other system admin scripts.
pkgtools:
pkgtools:
DESCRIPTION
pkgtool is a menu-driven package maintenance tool provided with the Slackware Linux distribution. It allows the user to install, remove, or view software
packages through an interactive system. Pkgtool can also be used to re-run the menu-driven scripts normally executed at the end of a Slackware installation.
This is useful for doing basic reconfiguration (like changing the mouse type).
OPTIONS
Most users will not want to use any options when running pkgtool. These are generally used only when pkgtool is run during the initial system installation.
Feel free to try them, but be careful.
--sets #A#B#C#
Install the disk sets A, B, C. Seperate the disk set names by '#' symbols.
--source_mounted
When this flag is present, pkgtool will not attempt to unmount and remount the source device with each disk.
--ignore_tagfiles
When this flag is present, pkgtool will install every package encountered no matter what the tagfiles say.
--tagfile tagfile
This flag is used to specify from the command line which tagfile should be used for the installation.
--source_dir directory
Used when installing multiple packages from disk sets. This is the directory in which the subdirectories for each disk are found. This isn't used when
installing from floppy.
--target_dir directory
The directory where the target root directory is located. This is '/' when installing on the hard drive, or typically '/mnt' when installing from an
install disk.
--source_device device
The source device to install from. This is not used if you've provided the --source_mounted flag. It's usually used when installing from floppy, as in:
--source_device /dev/fd0u1440 or
--source_device /dev/fd1h1200.
AUTHOR
Patrick J. Volkerding <volkerdi@slackware.com>
Please notice the above bold information to remember as a new user you can re-run setup scripts via pkgtool command. Very useful!
Hope this helps.
Have fun & enjoy!
Last edited by onebuck; 09-06-2018 at 03:02 PM.
Reason: typo
(I'm posting to get this pedantic thread off the zero reply list...)
I am sure you know everything there is to know but some new Slackware users may not. That is why I create posts of this sort to help those that need exposure and hopefully leads to understanding.
You can always ignore my posts or just take or leave them to someone who appreciates that information.
I will continue to create and post in this manner so as to help others!
@onebuck: several times recently I searched information about packages management and other admin tools specific to a distribution I had just installed.
I first look for a documentation shipped in the system, then in a document in a website for this distribution, be it a wiki, a manual, whatever. Only if I can't find this information in such a media I will try to find it in a forum, but then looking for a relevant sticky thread.
Making an internet search, or using the search feature in a forum like this one would be the last resort, so if I was looking for that about Slackware the chances that I'd have come across this thread would be very slim.
It would be more useful in my opinion to just have a sticky thread with a single and short post providing links to sources of information intended to help newbies finding their way in Slackland. Like just the names and a one-line description of the Slackware packages and admin tools (all have associated man pages), links to the Slackware website (with a focus on the ChangeLogs, the mailing lists, and the packages browser), SBo, slackdocs, and a few third party packages repos provided by trusted Slackware contributors.
Last edited by Didier Spaier; 09-07-2018 at 03:15 PM.
I believe it is best served to continue posting to 'Slackware This Forum is for the discussion of Slackware Linux.' forum with associative links to that information in the sticky.
Thanks for the suggestion.
Hope this helps.
Have fun & enjoy!
I agree with Didier. One week from now, no one will find your post here. It would be better to focus documentation efforts on updating and adding to slackdocs.
Last edited by montagdude; 09-07-2018 at 03:33 PM.
I agree with Didier. One week from now, no one will find your post here. It would be better to focus documentation efforts on updating and adding to slackdocs.
Feel free to add that type to Slackware Doc Project I certainly will not be adding to the project at this time.
I will continue my posting style and linking in the sticky.
I think it's great. These are tools every Slackware user should know, tools I use all the time, only 3rd party tool I use for package management is slackpkg+.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.