1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00
tldr/pages/linux/sport.md
Vitor Henrique 4634eacca5
sport: add page and pt_BR translation (#11872)
* sport: add page and pt_BR translation

---------

Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-29 18:57:51 +05:30

825 B

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}})