Skip to content

Updating SBB Desktop ​

SBB Desktop updates itself while you work, and never loses your local data, your sign-in, your printer settings or any offline sales waiting to sync.

This guide covers:

  1. Automatic updates inside the app (every system)
  2. Updating on Linux (.deb, .rpm, .AppImage, plus one-line terminal commands)
  3. Updating on Windows (.exe and IT .msi)
  4. Updating on macOS
  5. If an update fails

Automatic updates inside the app ​

  1. Checks quietly: 20 seconds after SBB Desktop opens — and every 6 hours while it stays open — it checks docs.smartbusinessbook.io for a newer release.
  2. Downloads in the background: if a newer version exists, SBB Desktop downloads it in the background and verifies its cryptographic signature against our release key. Your till does not pause or slow down.
  3. Asks before restarting: once verified, a card appears in the bottom-right corner: "SBB Desktop 2.x.y is ready — Restart to update".
    • Click Restart to update to apply it right away.
    • Click Later if a customer is at the counter — the card stays out of your way and appears again next time the app opens, or under Desktop settings → Updates.

To check manually at any time: click your initials in the top-right bar → Desktop settings → Updates → Check for updates. That card also shows the exact version currently running on the computer.

Your data and queued sales stay safe

Updating replaces only the application binary. Your encrypted local database, keyring credentials, receipt printer configuration, Print & save locations folders, and any sales recorded offline remain untouched and continue syncing as soon as the new version opens.


Updating on Linux ​

Linux has three install formats, and each updates slightly differently because system packages (/usr/bin/sbb-desktop) belong to root while an AppImage belongs to your own user account.

1. Ubuntu, Debian, Linux Mint, Pop!_OS, Zorin (.deb) ​

Inside the app (graphical):

  1. Click Restart to update on the update card (or in Desktop settings → Updates).
  2. Ubuntu / Debian opens an Authentication Required window (pkexec / Polkit).
  3. Enter your Linux administrator (sudo) password and click Authenticate.
  4. dpkg upgrades sbb-desktop in place and SBB Desktop reopens automatically on the new version.

From the terminal (one command — works over SSH or when no password dialog appears):

Close SBB Desktop (if open), then run:

bash
curl -fL https://docs.smartbusinessbook.io/downloads/desktop/SBB-Desktop-latest-linux-amd64.deb -o /tmp/sbb-desktop.deb \
  && sudo apt install -y /tmp/sbb-desktop.deb \
  && rm -f /tmp/sbb-desktop.deb

Using apt install (rather than dpkg -i) also ensures any system library updates are resolved automatically.


2. Fedora, RHEL, Rocky, AlmaLinux, openSUSE (.rpm) ​

Inside the app (graphical):

  1. Click Restart to update.
  2. Enter your administrator password when the system authentication dialog appears.
  3. rpm upgrades the package and SBB Desktop relaunches automatically.

From the terminal:

bash
# Fedora, RHEL, Rocky Linux, AlmaLinux
sudo dnf upgrade -y https://docs.smartbusinessbook.io/downloads/desktop/SBB-Desktop-latest-linux-x86_64.rpm

# openSUSE Leap / Tumbleweed
sudo zypper --non-interactive install https://docs.smartbusinessbook.io/downloads/desktop/SBB-Desktop-latest-linux-x86_64.rpm

3. AppImage — any Linux distribution (no administrator password needed) ​

If your counter is manned by cashiers who do not have the computer's sudo password, use the .AppImage edition stored inside the user's home folder (for example ~/Applications/SBB-Desktop.AppImage):

Inside the app:

  1. Click Restart to update.
  2. SBB Desktop verifies the new .AppImage, atomically swaps the file in place with no password prompt, and immediately reopens on the new version.

Keep the AppImage in a writable folder

Store the .AppImage inside your home directory (such as ~/Applications/), not inside /opt, /usr/local/bin, or a read-only USB drive — otherwise your user account cannot replace the file without root permissions.

From the terminal:

bash
mkdir -p ~/Applications
curl -fL https://docs.smartbusinessbook.io/downloads/desktop/SBB-Desktop-latest-linux-x86_64.AppImage \
  -o ~/Applications/SBB-Desktop.AppImage.new \
  && chmod +x ~/Applications/SBB-Desktop.AppImage.new \
  && mv ~/Applications/SBB-Desktop.AppImage.new ~/Applications/SBB-Desktop.AppImage

Updating on Windows ​

Standard per-user install (.exe):

  1. Click Restart to update inside SBB Desktop.
  2. A brief installer progress bar runs for a few seconds — no Windows administrator password is needed — and SBB Desktop reopens automatically.

Manual update over the top:

Download SBB-Desktop-latest-windows-x64-setup.exe (or from Downloads) and run it. If Windows SmartScreen shows "Windows protected your PC", click More info → Run anyway. Your sign-in, local database and settings stay intact.

IT-managed computers (.msi):

powershell
curl.exe -fL https://docs.smartbusinessbook.io/downloads/desktop/SBB-Desktop-latest-windows-x64.msi -o "$env:TEMP\SBB-Desktop.msi"
msiexec /i "$env:TEMP\SBB-Desktop.msi" /qn

Updating on macOS ​

Inside the app:

  1. Click Restart to update inside SBB Desktop (make sure SBB Desktop lives in /Applications, not still mounted inside the downloaded .dmg disk image).
  2. SBB Desktop replaces its app bundle and reopens automatically.

Manual update:

  1. Download SBB-Desktop-latest-macos-universal.dmg (one file supports both Intel and Apple Silicon Macs).
  2. Close SBB Desktop, open the .dmg, drag SBB Desktop into Applications, and click Replace.
  3. If macOS Gatekeeper blocks the updated app before notarisation is enabled, run once in Terminal:
    bash
    xattr -cr "/Applications/SBB Desktop.app"

If an update fails ​

SymptomCauseFix
Linux .deb / .rpm: update stops after clicking Restart to updatePassword prompt was cancelled, the Linux user lacks sudo rights, or no graphical Polkit agent is runningRun the one-line sudo apt install / sudo dnf upgrade terminal command above, or switch the till to the .AppImage in ~/Applications/ so cashiers never need a password
Linux .AppImage: "Permission denied" or "crosses devices"The .AppImage sits in /opt, /usr, or a separate read-only driveMove the .AppImage into ~/Applications/, run chmod +x ~/Applications/SBB-Desktop.AppImage, and launch it from there
macOS: update downloads but reopens the old versionThe app is being run directly from inside the mounted .dmg volume (which is read-only)Quit SBB Desktop, drag it into /Applications, eject the .dmg, and open it from /Applications
"No connection — it will check again when you are online"The computer is offlineNothing is wrong — keep working offline; SBB Desktop checks automatically once internet returns
"The download did not pass its signature check"A captive Wi-Fi portal or proxy returned a login page instead of the installerSign into the Wi-Fi portal in your browser, then click Desktop settings → Updates → Check for updates

Need help? Message us on WhatsApp at +256 700 601 950 or email info@smartbusinessbook.io.

Smart Business Book — the AI-powered business operating system.