-
-
Notifications
You must be signed in to change notification settings - Fork 5k
explodepkg, pkgdiff, pkgtool, upgradepkg: add pages #19984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
osmium1
wants to merge
7
commits into
tldr-pages:main
Choose a base branch
from
osmium1:pkgtools-add-pages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+79
−0
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
77e0e78
explodepkg, pkgdiff, pkgtool, upgradepkg: add pages
osmium1 9b38e95
Update pages/linux/explodepkg.md
osmium1 2ce747f
Update pages/linux/pkgtool.md
osmium1 f5526ad
Update pages/linux/upgradepkg.md
osmium1 d7b45cd
pkgdiff: remove due to lack of browser-readable documentation
osmium1 6b2305c
pkgdiff: re-add with groff man page URL
osmium1 d6b2d13
Update pages/linux/upgradepkg.md
osmium1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}}` | ||
osmium1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.