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.
Before installation
Architectures
The script detects the processor and system itself (including a 32-bit system on a 64-bit processor).
| Computer | Package | Notes |
|---|---|---|
64-bit Intel/AMD (x86_64) | linux-x64 | glibc 2.27 or newer. |
64-bit ARM (aarch64) | linux-arm64 | glibc 2.27 or newer. |
32-bit ARM (armv7l) | linux-arm | glibc 2.35 or newer. Poseo does not generate local PDFs on this architecture. |
32-bit Intel/AMD (i386 or i686) | Not available | Not offered: .NET 10 has no Linux version for x86. |
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 and the till data in ~/.local/share/PoseoData.
Installation
curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
--output poseo-install.sh https://poseo.ro/install/poseo.sh
less poseo-install.sh
bash poseo-install.sh install --environment Production
After installation, you will find "Poseo" in the applications menu. You can also start it from the terminal with poseo (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.sh install --environment Production --autostart
Update, status and uninstall
Automatic updates
From version 1.0.111, Poseo updates itself on Linux, as on Windows:
- 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.
- 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.
- 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.
- 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".
- 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:
- Download the script again to get its latest version:
curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \ --output poseo-install.sh https://poseo.ro/install/poseo.sh - Read it before running it:
less poseo-install.sh - Run the update:
bash poseo-install.sh update --environment Production - 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/PoseoData. - 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.sh status --environment Production
Uninstall:
bash poseo-install.sh uninstall --environment Production --yes
- Uninstallation removes only the program. The till database, enrolment and settings remain in
~/.local/share/PoseoData; 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.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.sh https://poseo.ro/install/fiscalbridge.sh
less fiscalbridge-install.sh
sudo bash fiscalbridge-install.sh install --environment Production --operator "$(id -un)"
--operator "$(id -un)"adds you to thefiscalbridge-operatorsadministration group, which can open the FiscalBridge app.$(id -un)is evaluated beforesudo, 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
dialoutgroup, oruucpon Arch). You do not need to add yourself to this group. - The app appears in the menu as "FiscalBridge"; in the terminal, use
fiscalbridge. The command-line utility isfiscalbridge-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
- Open "FiscalBridge" and activate the FiscalBridge licence.
- Configure the cash register (model and port) and test communication without issuing a document.
- Show the broker key, which you enter in Poseo:
The key is secret: do not save it in a file, send it by chat or put it in another program's command line.sudo /opt/FiscalBridge/current/Fiscal.Agent key --broker
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.sh update --environment Production --operator "$(id -un)"
sudo bash fiscalbridge-install.sh status --environment Production
systemctl status fiscalbridge-agent.service
sudo bash fiscalbridge-install.sh uninstall --environment Production --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. Updating does not change the broker key. - For exports to your own directory (for example
/srv/fiscal-exports), add--export-root /srv/fiscal-exportsto theupdatecommand. 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 (production).
1. Find the connection key
On the computer running FiscalBridge, run in the terminal:
sudo /opt/FiscalBridge/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" 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-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) oripconfig(Windows). - On a Linux host on the network, open port 5077 only for the local network, for example (replace
192.168.1.0/24with your network):sudo ufw allow from 192.168.1.0/24 to any port 5077 proto tcp
3. Connect Poseo
- In Poseo, open "Cash register setup", go to "Cash register operating mode" and choose "FiscalBridge connection".
- 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.
- Otherwise, under "FiscalBridge address (local or network, manual)", enter the address (without
http://and without a port), port5077and the key, then select "Test connection". You should see "The connection works". Then select "Save connection". - Select "Apply mode" and confirm (with the manager PIN if asked), then restart Poseo.
- 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-operators group:
sudo usermod -a -G fiscalbridge-operators $(id -un)
Then sign out and sign in again to activate the new group.
When the connection does not work
| Message from Poseo | What to do |
|---|---|
| "The connection key is incorrect" | You copied another key. Run the command in step 1 again and copy only the text after CHEIE=. |
| "… is not responding" | Check the service with systemctl status fiscalbridge-agent.service and start it with sudo systemctl start fiscalbridge-agent.service. For another computer, also check the firewall. |
| "… for another environment or version" | Poseo and FiscalBridge must use the same environment (production) and be up to date. |
| "This computer has FiscalBridge for …" | Poseo and FiscalBridge must use the same environment (production). Install "FiscalBridge" using the FiscalBridge section. |
| "… cannot provide the key automatically" | Update FiscalBridge (the FiscalBridge section, update command) or enter the key manually using the command in step 1. |
| "Your account does not have access yet" | Run the command in Access for automatic connection, then sign out and sign in again. |
| "… is not accepting Poseo connections yet" | sudo /opt/FiscalBridge/current/Fiscal.Agent broker enable && sudo systemctl restart fiscalbridge-agent.service |
| "FiscalBridge is not installed on this computer" | Install it using the FiscalBridge section. |
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
| Symptom | What to check |
|---|---|
| "Poseo is installed per user… without sudo" | You ran the Poseo script with sudo. Run it as the till user. |
| Architecture or system rejected | The computer uses 32-bit x86 or musl. No package is available for this combination. |
| A program is missing (curl, python3, flock, setfacl) | Install the packages in the Before installation section and run it again. |
| The package checksum does not match | The download was interrupted or changed in transit. Run it again; if the problem recurs, write to us. |
| The app does not start | Start it from the terminal (poseo or fiscalbridge) and read the message. Usually a desktop library is missing (ICU, OpenSSL, libX11 or fontconfig). |
| The FiscalBridge app says it has no access | You did not sign out after installation or did not use --operator. Check with id that you are in the fiscalbridge-operators group. |
| The FiscalBridge service does not respond | systemctl status fiscalbridge-agent.service and journalctl -u fiscalbridge-agent.service. |
| The cash register does not respond on the serial port | Check the port selected in FiscalBridge (/dev/ttyUSB0 or /dev/ttyACM0) and the cable. The service already has access to the serial group. |