mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-12 15:35:44 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
32 lines
867 B
Markdown
32 lines
867 B
Markdown
# 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|--parents]}} /usr/ports && sudo rsync {{[-av|--archive --verbose]}} 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}})`
|