Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-21 00:19:51 +00:00
parent c3f5e8d7ab
commit 8d00ec1c41
29 changed files with 728 additions and 15 deletions

25
tldr/linux/installpkg Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# installpkg
> Install a Slackware package.
> More information: <http://www.slackware.com/config/packages.php>.
- Install a package:
`sudo installpkg {{path/to/package.tgz}}`
- Generate a report of a simulated installation to `stdout`:
`installpkg -warn {{path/to/package.tgz}}`
- Create a package from current directory and its subdirectories:
`installpkg -m {{package_name.tgz}}`
- Install the contents of the current directory and subdirectories as a package with a specified name:
`sudo installpkg -r {{package_name.tgz}}`