Linux command
slapt-src 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Update
slapt-src -u
List
slapt-src -l
Install
slapt-src -i [slackbuild_name]
Search
slapt-src -s [search_term]
Show
slapt-src -w [slackbuild_name]
说明
slapt-src automates building packages from SlackBuilds, providing a workflow similar to binary package management with slapt-get. It handles querying, retrieving, building, and installing SlackBuild packages from configured repositories. SlackBuild sources are configured in the slapt-srcrc configuration file, which specifies repository locations (SOURCE), build directory (BUILDDIR), package extension (PKGEXT), and package tag (PKGTAG).
参数
- -u, --update
- Update the list of available slackbuilds from configured sources
- -l, --list
- List all available slackbuilds
- -i, --install _name_
- Fetch, build, and install the specified slackbuild(s)
- -s, --search _term_
- Search for slackbuilds by name or description
- -w, --show _name_
- Display detailed information about a slackbuild
- -b, --build _name_
- Build slackbuild without installing
- -f, --fetch _name_
- Download slackbuild sources only
- --yes
- Assume yes to all prompts
- --no
- Assume no to all prompts
- -c, --config _file_
- Use alternate configuration file
- -h, --help
- Display help information
FAQ
What is the slapt-src command used for?
slapt-src automates building packages from SlackBuilds, providing a workflow similar to binary package management with slapt-get. It handles querying, retrieving, building, and installing SlackBuild packages from configured repositories. SlackBuild sources are configured in the slapt-srcrc configuration file, which specifies repository locations (SOURCE), build directory (BUILDDIR), package extension (PKGEXT), and package tag (PKGTAG).
How do I run a basic slapt-src example?
Run `slapt-src -u` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --update do in slapt-src?
Update the list of available slackbuilds from configured sources