# urbestack-software-keep

First published 5 Dec 2026 (release 0.2.39) · Unchanged since publication

UrbeStack release 0.2.39 command, run as root in the server shell.

## Usage

```
urbestack-software-keep [--name NAME ...]
```

## Description

For each piece of software UrbeStack installs on this server, the command fetches the package files for the currently installed versions from the server's repositories and keeps them under UrbeStack's data directory. Without --name, the command processes every piece of software. Use --name once for each piece of software you want to include.

After UrbeStack updates a piece of software, the commands that restore the previous version will use the saved package files. If the repositories no longer offer a package's installed version, the command lists that package in the answer's missing field and keeps no file for it. The command installs nothing, restarts nothing, and removes no packages.

UrbeStack runs this command once as a job after UrbeStack is installed or updated. It also keeps the package files for a PHP version after installing that version. The command waits up to 15 minutes for an update run in progress to finish. With --dry-run, the command lists the packages whose files it would fetch.

## Command family: software

- [urbestack-software-dismiss](https://urbestack.com/docs/commands/urbestack-software-dismiss.md): The command clears the red notice for the piece of software named with --name after its service did not come back following an update.
- [urbestack-software-list](https://urbestack.com/docs/commands/urbestack-software-list.md): The command lists the pieces of software UrbeStack installs and keeps updated on this server, such as httpd, php84, and mariadb.
- [urbestack-software-set](https://urbestack.com/docs/commands/urbestack-software-set.md): The command sets whether the piece of software named with --name is selected for the nightly run.
- [urbestack-software-update](https://urbestack.com/docs/commands/urbestack-software-update.md): The command uses the server's existing repositories to update the pieces of software UrbeStack installs on this server.
- [urbestack-software-update-now](https://urbestack.com/docs/commands/urbestack-software-update-now.md): The command records a request for the updater and starts urbestack-update.service, which updates the pieces of software named with --name.
- [urbestack-software-update-run](https://urbestack.com/docs/commands/urbestack-software-update-run.md): urbestack-update.service runs this command every hour after checking for UrbeStack and plugin updates.
