Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

37
tldr/linux/sport Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# sport
> Search and install SlackBuilds.
> More information: <http://slackermedia.info/handbook/doku.php?id=slackbuilds>.
- Pull the list of SlackBuilds to run `sport` for the first time:
`sudo mkdir -p /usr/ports && sudo rsync -av rsync://slackbuilds.org /slackbuilds/$(awk '{print $2}' /etc/slackware-version)/ /usr/ports/`
- Pull in any updates to the system's tree via `rsync`:
`sudo sport rsync`
- Search for a package by name:
`sport search "{{keyword}}"`
- Check if a package is installed:
`sport check {{package}}`
- Display README and `.info` files of a package:
`sport cat {{package}}`
- Install a package once the dependencies are resolved:
`sudo sport install {{package}}`
- Install a list of packages from a file (format: packages separated by spaces):
`sudo sport install $(< {{path/to/list}})`