Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pages/linux/explodepkg.md
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions pages/linux/pkgdiff.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/linux/pkgtool.md
Original file line number Diff line number Diff line change
@@ -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 changes: 25 additions & 0 deletions pages/linux/upgradepkg.md
Original file line number Diff line number Diff line change
@@ -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}}`