LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-06-2018, 03:00 PM   #1
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,364
Blog Entries: 31

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548
Arrow 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.

Quote:
From pkgtools-14.2-noarch-10.txt

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:
Quote:
From 'man pkgtool';

pkgtool - software package maintenance tool.

SYNOPSIS
pkgtool

pkgtool [ --sets #a#b#c# ] [ --source_mounted ] [ --ignore_tagfiles ] [ --tagfile tagfile ] [ --source_dir directory ] [ --target_dir directory ] [
--source_device device ]

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
 
Old 09-07-2018, 10:09 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,591

Rep: Reputation: Disabled
Just so you know, we can use man(1) on our own...

(I'm posting to get this pedantic thread off the zero reply list...)
 
3 members found this post helpful.
Old 09-07-2018, 12:16 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,364

Original Poster
Blog Entries: 31

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548
Member response

Hi,
Quote:
Originally Posted by orbea View Post
Just so you know, we can use man(1) on our own...

(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!

Hope this helps.
Have fun & enjoy!
 
5 members found this post helpful.
Old 09-07-2018, 03:02 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,829

Rep: Reputation: Disabled
Hello,

@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.

I considered suggesting to move this post in your sticky thread So you want to be a Slacker! What do I do next? but on second thought it it would be hard to find it among 554 posts.

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.
 
1 members found this post helpful.
Old 09-07-2018, 03:19 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,364

Original Poster
Blog Entries: 31

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548
Member response

Hi,

I have been posting the links to these type of threads in So you want to be a Slacker! What do I do next?

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!
 
1 members found this post helpful.
Old 09-07-2018, 03:32 PM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,479

Rep: Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101
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.
 
Old 09-07-2018, 03:44 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,364

Original Poster
Blog Entries: 31

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548
Member response

Hi,

Quote:
Originally Posted by montagdude View Post
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.

Hope this helps.
Have fun & enjoy!
 
3 members found this post helpful.
Old 09-08-2018, 04:00 AM   #8
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 943

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
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+.
 
1 members found this post helpful.
Old 09-08-2018, 04:01 PM   #9
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,542
Blog Entries: 2

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
I was in and out pkgtool most of time during my 1st year on Slackware.
The second year i discovered linuxquestions.org
 
  


Reply

Tags
package management, pkgtool, slackpkg, slackpkg+


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A proposal to improve Pkgtools: the ghost files management Darth Vader Slackware 3 11-12-2011 01:05 PM
Slackware package management siawash Slackware 21 12-29-2008 06:02 PM
Slackware Package Management gonzalo76 Slackware 12 05-11-2004 07:20 PM
Slackware Package Management kemplej Slackware 1 12-22-2003 05:34 PM
slackware package management Vlad_M Slackware 6 08-15-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration