slapt-src
Build Slackware packages from source code
TLDR
Update the list of available slackbuilds and versions
List all available slackbuilds
Fetch, build and install the specified slackbuild(s)
Locate slackbuilds by their name or description
Display information about a slackbuild
SYNOPSIS
slapt-src [options] package_name [package_name ...]
PARAMETERS
-u, --update
Update the package list from the configured repositories.
-i, --install package_name
Install the specified source package.
-s, --search package_name
Search for a package in the configured repositories.
-l, --list
List available packages in the configured repositories.
-d, --download package_name
Download only the source package without installing.
--clean
Clean up downloaded and extracted source packages.
--configure package_name
Configure the package only.
--build package_name
Build the package only.
--remove package_name
Remove downloaded sources from the sources directory
--dry-run
Simulate the installation without actually modifying the system.
-c, --config file
Specify an alternative configuration file (default: /etc/slapt-src/slapt-srcrc).
-v, --verbose
Enable verbose output.
DESCRIPTION
slapt-src is a command-line tool designed for managing source packages on Slackware-based Linux distributions.
It simplifies the process of downloading, extracting, patching, configuring, and compiling source code to build and install software.
It leverages the Slackware package manager (`pkgtool`, `installpkg`, `removepkg`) while offering dependency resolution via configurable repositories (typically configured in `/etc/slapt-src/slapt-srcrc`).
Users can easily update their system with the latest versions of software or build custom packages tailored to their specific needs.
It searches source repositories defined by the user and provides a mechanism for building packages outside the officially supplied binary releases.
It can automatically download dependencies and apply patches, making the software build process more streamlined and consistent.
CAVEATS
slapt-src requires proper configuration of repositories in `/etc/slapt-src/slapt-srcrc` to function correctly.
Building packages from source can be time-consuming and may require significant disk space.
Successfully building packages depends on having the necessary development tools and libraries installed on the system.
CONFIGURATION
The `/etc/slapt-src/slapt-srcrc` file is the main configuration file for slapt-src.
It defines the repositories where source packages are located, sets build options, and specifies dependencies.
DEPENDENCIES
slapt-src attempts to resolve dependencies by searching for required libraries and tools based on information available in the source package's build scripts (e.g., `SlackBuild` scripts).
However, manual intervention might be needed in some cases.
SLACKBUILD SCRIPTS
slapt-src primarily relies on SlackBuild scripts for building packages.
These scripts define the steps required to compile and install a specific piece of software.
Understanding how SlackBuild scripts work is essential for effectively using slapt-src.
HISTORY
slapt-src was developed as a tool for managing source packages in Slackware-based systems.
It aims to provide a user-friendly interface for building and installing software from source, filling a gap in the traditional Slackware package management approach.
Its development was driven by the need for dependency resolution and easier management of custom-built packages.
SEE ALSO
pkgtool(1), installpkg(1), removepkg(1), slapt-get(8)