The installation package does this automatically after the install completes, but for reasons I can’t explain just yet the first run of a new update sometimes (only rarely) runs better after a cache/tmp removal.
I will add a cli shortcut so that the command:
sudo openhab-cli clean-cache
is all that would be needed, instead of having to remember and type out the directories each time.