explodepkg, pkgdiff, pkgtool, upgradepkg: add pages (#19984)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Om Singh Bais
2025-12-16 22:25:07 +05:30
committed by GitHub
parent c5584e3590
commit c96a4d5ea6
4 changed files with 79 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# explodepkg
> Extract the contents of a Slackware package to the current directory.
> See also: `installpkg`, `removepkg`, `upgradepkg`, `makepkg`, `pkgtool`.
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-EXPLODEPKG>.
- Extract a package to the current directory:
`explodepkg {{path/to/package.tgz}}`
- Extract multiple packages to the current directory:
`explodepkg {{path/to/package1.tgz}} {{path/to/package2.tgz}}`
+16
View File
@@ -0,0 +1,16 @@
# pkgdiff
> Compare the file contents of two Slackware packages.
> More information: <https://slackware.nl/slackware/slackware64-current/source/a/pkgtools/manpages/pkgdiff.8>.
- Compare two packages and display differences:
`pkgdiff {{path/to/package1.txz}} {{path/to/package2.txz}}`
- Compare two packages with colorized output:
`pkgdiff -c {{path/to/package1.txz}} {{path/to/package2.txz}}`
- Compare two packages and output a simple unified diff:
`pkgdiff -a {{path/to/package1.txz}} {{path/to/package2.txz}}`
+25
View File
@@ -0,0 +1,25 @@
# pkgtool
> Interactive menu-driven tool for managing Slackware packages.
> See also: `installpkg`, `removepkg`, `upgradepkg`, `makepkg`.
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-PKGTOOL>.
- Launch the interactive package tool:
`sudo pkgtool`
- Remove packages interactively:
`sudo pkgtool --remove_menu`
- View installed packages:
`pkgtool --view_menu`
- Install packages from the current directory:
`sudo pkgtool --install_menu`
- Set up packages interactively (run doinst.sh scripts):
`sudo pkgtool --setup_menu`
+25
View File
@@ -0,0 +1,25 @@
# upgradepkg
> Upgrade Slackware packages by replacing existing packages with new versions.
> See also: `installpkg`, `removepkg`, `makepkg`, `pkgtool`.
> More information: <https://slackware.nl/slackware/slackware64-current/source/a/pkgtools/manpages/upgradepkg.8>.
- Upgrade a package:
`sudo upgradepkg {{path/to/package.tgz}}`
- Upgrade a package, installing it if not already present:
`sudo upgradepkg --install-new {{path/to/package.tgz}}`
- Reinstall a package (even if the same version is already installed):
`sudo upgradepkg --reinstall {{path/to/package.tgz}}`
- Preview what would happen without actually upgrading:
`upgradepkg --dry-run {{path/to/package.tgz}}`
- Upgrade a package and show detailed progress:
`sudo upgradepkg --verbose {{path/to/package.tgz}}`