Browse Source

slapt-src, spi: add page, slapt-get: fix example (#5014)

George Vlahavas 4 years ago
parent
commit
cb83e50f55
3 changed files with 54 additions and 1 deletions
  1. 1 1
      pages/linux/slapt-get.md
  2. 25 0
      pages/linux/slapt-src.md
  3. 28 0
      pages/linux/spi.md

+ 1 - 1
pages/linux/slapt-get.md

@@ -17,7 +17,7 @@
 
 - Upgrade all installed packages to their latest available versions:
 
-`slapt-get --upgrade {{package_name}}`
+`slapt-get --upgrade`
 
 - Locate packages of interest by the package name, disk set, or version:
 

+ 25 - 0
pages/linux/slapt-src.md

@@ -0,0 +1,25 @@
+# slapt-src
+
+> A utility to automate building of slackbuilds.
+> SlackBuild sources need to be configured in the slapt-srcrc file.
+> More information: <https://github.com/jaos/slapt-src>.
+
+- Update the list of available slackbuilds and versions:
+
+`slapt-src --update`
+
+- List all available slackbuilds:
+
+`slapt-src --list`
+
+- Fetch, build and install the specified slackbuild(s):
+
+`slapt-src --install {{slackbuild_name}}`
+
+- Locate slackbuilds of interest by their name or description:
+
+`slapt-src --search {{search_term}}`
+
+- Display information about a slackbuild:
+
+`slapt-src --show {{slackbuild_name}}`

+ 28 - 0
pages/linux/spi.md

@@ -0,0 +1,28 @@
+# spi
+
+> A meta package manager that handles both packages and slackbuilds.
+> More information: <https://github.com/gapan/spi>.
+
+- Update the list of available packages and slackbuilds:
+
+`spi --update`
+
+- Install a package or slackbuild:
+
+`spi --install {{package/slackbuild_name}}`
+
+- Upgrade all installed packages to the latest versions available:
+
+`spi --upgrade`
+
+- Locate packages or slackbuilds of interest by package name or description:
+
+`spi {{search_terms}}`
+
+- Display information about a package or slackbuild:
+
+`spi --show {{package/slackbuild_name}}`
+
+- Purge the local package and slackbuild caches:
+
+`spi --clean`