LinuxCommandLibrary

sport

Search and install SlackBuilds.

TLDR

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/
copy


Pull in any updates to the system's tree via rsync
$ sudo sport rsync
copy


Search for a package by name
$ sport search "[keyword]"
copy


Check if a package is installed
$ sport check [package]
copy


Display README and .info files of a package
$ sport cat [package]
copy


Install a package once the dependencies are resolved
$ sudo sport install [package]
copy


Install a list of packages from a file (format: packages separated by spaces)
$ sudo sport install $(< [path/to/list])
copy

Copied to clipboard