build

It is important to note that build commands will fail if your connection to a server fails. If you run build commands on a server through SSH, use the unix tool screen to create a persistent session that will continue to run if your connection fails. (See using a screen)

install

sw build install
sw build install nginx

Install a software package (or list of software packages) along with any missing software it depends on.

uninstall

sw build uninstall
sw build uninstall nginx

Uninstall a software package (or list of software packages) from the system. Only some software packages support uninstalling.

disable

sw build disable
sw build disable nginx

This will remove a package from the build system, however it will not uninstall the package from the underlying system.

update

sw build update
sw build update force

Checks for updates to all software that is built from source. If any updates are found, the software source code is updated. After which it is re-compiled along with any software that depends on it. The one optional argument “force” rebuilds all software.

checkupdate

sw build checkupdate

Checks for updates to all software and prints a list of software that needs updating or a message that nothing needs updating.

list

sw build list

List all software that is enabled within the build system.

run

sw build run modsec
sw build run curl
sw build run php-8.1 php-8.2 nginx

Rebuild a software module or a list of modules. All software that depends on the given software is also rebuilt. This is necessary after you modify a build configuration file in /opt/sitewrangler/etc/. Use the list feature to see valid names or “slugs” to use.

log

sw build log curl
sw build log nginx

View a build log in the unix command less. Press Q to leave the log.

freeze

sw build freeze
sw build freeze curl

Keep a software package from being updated from it’s current version. This will allow the software to be rebuild it it’s dependents are updated with it’s current version. This is only needed when the latest version of a package is not building correctly or has other known flaws.

unfreeze

sw build unfreeze
sw build unfreeze curl
sw build thaw
sw build thaw curl

Remove the version freeze on a package. This is needed once an issue with a frozen package has been resolved, and new versions of a package can be built.

listfrozen

sw build listfrozen
sw build listfreeze

List software packages that have been set to not update.