TEST ENVIRONMENT You are on the Poseo TEST environment (test.poseo.ro). Its data and payments are NOT real, and the app downloaded here is a test build. Do not install it on a till used for sales.

Help

Installation on Linux

Poseo is installed for the till user, without administrator rights. FiscalBridge, the cash register connection, is installed once per computer as a system service. Both use the same verified script downloaded from the site.

You are in the TEST environment. The commands below install "Poseo TEST" and "FiscalBridge TEST", connected to the test server, not to real data. For a working till, use the guide at poseo.ro.

Before installation

Architectures

The script detects the processor and system itself (including a 32-bit system on a 64-bit processor).

Musl-based distributions (such as Alpine) are not supported. Packages are checked during the build for each architecture; cash register and printer compatibility is checked separately on the device.

Required programs

The scripts need Bash, curl, Python 3.9 or newer, sha256sum, flock, tar and gzip. FiscalBridge also needs systemd and the acl package. Most distributions lack only a few of these:

# Debian, Ubuntu, Linux Mint
sudo apt install curl python3 acl ca-certificates

# Fedora, RHEL, Rocky, AlmaLinux
sudo dnf install curl python3 acl ca-certificates

# openSUSE
sudo zypper install curl python3 acl ca-certificates

# Arch, Manjaro
sudo pacman -S --needed curl python acl ca-certificates

Desktop apps need a graphical session (X11 or Xwayland) and the usual desktop libraries: ICU, OpenSSL, fontconfig, freetype, libX11 and libxkbcommon. A standard desktop installation already has them. If the app does not start, see Troubleshooting.

Why download the script before running it

Download the script to a file, read it (for example with less) and only then run it. Do not use curl … | bash. The script does not ask for passwords, licences or keys. It reads the environment's official catalogue, downloads only the package for your architecture and checks its size and SHA-256 checksum before extraction. The checksum proves that the package is the one in the catalogue; trust comes from the HTTPS connection to the Poseo server.

Poseo

Poseo is installed for the user who sells, without sudo. The program goes in ~/.local/opt/Poseo.Test and the till data in ~/.local/share/PoseoDataTest.

Installation

curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
  --output poseo-install-test.sh https://test.poseo.ro/install/poseo.sh
less poseo-install-test.sh
bash poseo-install-test.sh install --environment Test

After installation, you will find "Poseo TEST" in the applications menu. You can also start it from the terminal with poseo-test (from ~/.local/bin; if the terminal cannot find it, sign out and sign in again). At first startup, follow the same steps as on Windows: accept the terms, connect the Poseo account and enter the company details.

For automatic startup after sign-in, add --autostart:

bash poseo-install-test.sh install --environment Test --autostart

Update, status and uninstall

Automatic updates

From version 1.0.111, Poseo updates itself on Linux, as on Windows:

  1. Each time it opens, Poseo first checks for a new version before the window appears. If one exists, it downloads it and checks its size and SHA-256 checksum. This can keep startup busy for up to one minute.
  2. If the download finishes within this time, Poseo restarts itself and opens directly on the new version without asking again. No receipt is open at that point because the app is just starting.
  3. If the internet is slow, the window opens on the old version and you can sell while the download continues. When it is ready, Poseo asks: "Restart now" or "Later". Choose "Restart now" with no receipt open. With "Later", the new version starts the next time you close and reopen the app.
  4. You can also check at any time in Settings, Device section, with the "Check for updates" button. Here too, when the new version is ready, choose "Restart now" or "Later".
  5. After switching to the new version, Poseo shows "What's new" once for the installed version.

If the server requires a minimum version, Poseo tells you and stops sales until you update: select "Close and update", and the app restarts on the new version.

First time, from 1.0.110 or older

Versions 1.0.110 and older cannot update themselves on Linux. Therefore, update to 1.0.111 manually once using the steps below. From then on, Poseo updates itself.

Manual update at any time

The manual command remains available at any time, for example if you want to update now from the terminal:

  1. Download the script again to get its latest version:
    curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
      --output poseo-install-test.sh https://test.poseo.ro/install/poseo.sh
  2. Read it before running it:
    less poseo-install-test.sh
  3. Run the update:
    bash poseo-install-test.sh update --environment Test
  4. Close and reopen Poseo with no receipt open to start the new version.
  • The update installs the new version beside the old one and switches to it in a single step. The previous version remains on disk and the data remains untouched in ~/.local/share/PoseoDataTest.
  • A sale in progress is not interrupted: an open Poseo app continues on the old version until you close it.
  • Manual and automatic updates use the same catalogue and checks, and never run at the same time. If one is running, the other stops with a message and you retry it after the first one finishes.

Your version and uninstallation

See the installed version in Settings, Device section ("Installed version"), or in the terminal:

bash poseo-install-test.sh status --environment Test

Uninstall:

bash poseo-install-test.sh uninstall --environment Test --yes
  • Uninstallation removes only the program. The till database, enrolment and settings remain in ~/.local/share/PoseoDataTest; there is no option to delete fiscal data.

FiscalBridge

FiscalBridge communicates with the cash register and printers. It is installed once per computer, with sudo: the fiscalbridge-agent-test.service service starts with the system and runs under a dedicated account, fiscalbridge. The administration app runs as a normal user, never as root.

Installation

Run the commands in the session of the user who will administer FiscalBridge (not from a root terminal):

curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
  --output fiscalbridge-install-test.sh https://test.poseo.ro/install/fiscalbridge.sh
less fiscalbridge-install-test.sh
sudo bash fiscalbridge-install-test.sh install --environment Test --operator "$(id -un)"

Download FiscalBridge

  • --operator "$(id -un)" adds you to the fiscalbridge-test-operators administration group, which can open the FiscalBridge app. $(id -un) is evaluated before sudo, so it is your name, not root. Sign out and sign in again after installation to activate the new group.
  • The service, not the user, receives access to the serial port (the dialout group, or uucp on Arch). You do not need to add yourself to this group.
  • The app appears in the menu as "FiscalBridge TEST"; in the terminal, use fiscalbridge-test. The command-line utility is fiscalbridge-test-print.
  • Production and TEST versions cannot run simultaneously on the same computer: the script rejects a second installation because they would use the same local ports.

Licence and connection key

  1. Open "FiscalBridge TEST" and activate the FiscalBridge licence.
  2. Configure the cash register (model and port) and test communication without issuing a document.
  3. Show the broker key, which you enter in Poseo:
    sudo /opt/FiscalBridge.Test/current/Fiscal.Agent key --broker
    The key is secret: do not save it in a file, send it by chat or put it in another program's command line.

FiscalBridge uses three separate keys: the local API key, the broker key (for Poseo and other tills) and the administration app's control token. Only the broker key is entered in Poseo.

Update, status and uninstall

sudo bash fiscalbridge-install-test.sh update --environment Test --operator "$(id -un)"
sudo bash fiscalbridge-install-test.sh status --environment Test
systemctl status fiscalbridge-agent-test.service
sudo bash fiscalbridge-install-test.sh uninstall --environment Test --yes
  • The update waits for the current fiscal operation to finish, stops the service and checks the new version. It automatically returns to the old version if the service does not start correctly.
  • The fiscal journal, licence, settings and keys are preserved during updates and uninstallation in /var/lib/FiscalBridge.Test. Updating does not change the broker key.
  • For exports to your own directory (for example /srv/fiscal-exports), add --export-root /srv/fiscal-exports to the update command. A directory added only from the app is not automatically permitted for the system service.

The connection between Poseo and FiscalBridge

Poseo issues receipts through FiscalBridge's shared register (port 5077) and connects to it with the connection key. You get the key once from the computer running FiscalBridge. Poseo and FiscalBridge must use the same environment (TEST).

1. Find the connection key

On the computer running FiscalBridge, run in the terminal:

sudo /opt/FiscalBridge.Test/current/Fiscal.Agent key --broker

The response is a single line, CHEIE=…, with 43 characters after "=". Copy only the text after CHEIE= (Poseo also accepts it with the prefix). The key is secret: do not send it by chat or email. Do not enter the API key (port 5078) or the FiscalBridge app token in Poseo.

Without a terminal: in the "FiscalBridge TEST" app, open "API și rețea" (API and network) and select "Copiază cheia de conectare" (copy the connection key) in the "Legătura cu stațiile Poseo" card (connection to Poseo stations); the FiscalBridge app is in Romanian only. Your account must be in the fiscalbridge-test-operators group. If you cannot find the button, update FiscalBridge (the FiscalBridge section, update command) or use the command above.

2. Find the address

  • If Poseo is on the same computer as FiscalBridge, the address is 127.0.0.1.
  • Otherwise, find the IP address of the computer running FiscalBridge with hostname -I (Linux) or ipconfig (Windows).
  • On a Linux host on the network, open port 5077 only for the local network, for example (replace 192.168.1.0/24 with your network):
    sudo ufw allow from 192.168.1.0/24 to any port 5077 proto tcp

3. Connect Poseo

  1. In Poseo, open "Cash register setup", go to "Cash register operating mode" and choose "FiscalBridge connection".
  2. On the same Linux computer, select "Connect automatically to FiscalBridge on this computer": Poseo reads the key, tests the connection and saves it. If Poseo says the FiscalBridge version cannot provide the key automatically, update FiscalBridge or enter the key manually as in the next step.
  3. Otherwise, under "FiscalBridge address (local or network, manual)", enter the address (without http:// and without a port), port 5077 and the key, then select "Test connection". You should see "The connection works". Then select "Save connection".
  4. Select "Apply mode" and confirm (with the manager PIN if asked), then restart Poseo.
  5. Issue the test receipt and X report as described in the cash register setup guide.

Access for automatic connection

Automatic connection works only if your computer account is in the fiscalbridge-test-operators group:

sudo usermod -a -G fiscalbridge-test-operators $(id -un)

Then sign out and sign in again to activate the new group.

When the connection does not work

If the FiscalBridge licence is missing or the key is wrong, Poseo does not switch to another issue route: the receipt remains unissued until the problem is fixed.

For Windows and a register connected to another computer, see How to connect FiscalBridge to Poseo.

Troubleshooting

Choose the Poseo package for your Linux computer