# How to run dietpi-software reinstall completely in the background (no prompts)?

**URL:** <https://dietpi.com/forum/t/how-to-run-dietpi-software-reinstall-completely-in-the-background-no-prompts/25210>\
**Category:** General Discussion\
**Created:** [14 May 2026 11:55 UTC](https://dietpi.com/forum/t/how-to-run-dietpi-software-reinstall-completely-in-the-background-no-prompts/25210 "2026-05-14T11:55:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![temp](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@temp](https://dietpi.com/forum/u/temp)\
**Post date:** [14 May 2026 11:55 UTC](https://dietpi.com/forum/t/how-to-run-dietpi-software-reinstall-completely-in-the-background-no-prompts/25210/1 "2026-05-14T11:55:56Z")

</div>

Hi everyone,

I’m trying to script a fully automated background reinstallation of certain DietPi software titles (like Gitea/Roon Extension Manager which aren’t updated via apt).

I know the command:

```bash
dietpi-software reinstall <ID>

```

I need this to run completely non-interactively in a script/cron job without any prompts, config questions, or user interaction.

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [14 May 2026 16:24 UTC](https://dietpi.com/forum/t/how-to-run-dietpi-software-reinstall-completely-in-the-background-no-prompts/25210/2 "2026-05-14T16:24:59Z")

</div>

Since the installation of Gitea does not need any user input (not sure about Roon extension manager) the only “problem” is the prompt for the backup, right?

You can just use `export G_INTERACTIVE=0` inside your script and the prompt will not appear.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [12 August 2026 16:25 UTC](https://dietpi.com/forum/t/how-to-run-dietpi-software-reinstall-completely-in-the-background-no-prompts/25210/4 "2026-08-12T16:25:19Z")

</div>

Closed on 12 August 2026 16:25 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
