Skip to content

Latest commit

 

History

History
120 lines (97 loc) · 2.25 KB

File metadata and controls

120 lines (97 loc) · 2.25 KB

Linux Installers


Debian .deb packages

createDebFile.sh script have to be run from the main project:

./linux/createDebFile.sh 

It will build .deb file in /build folder in project root directory.

To install run:

sudo apt install ./build/transaction-decorator_1.0.1.deb -y

To run:

transaction-decorator

or from all apps.

To remove run:

sudo apt remove transaction-decorator -y

Required packages installed on a system:

sudo apt install python3-pip
pip install --break-system-packages PySide6
sudo apt install python3-pandas python3-numpy python3-matplotlib

Snap building

Ensure you have snapcraft installed:

sudo snap install snapcraft --classic

then in linux directory, where a script is located:

snapcraft

For debug use (it will shell into built snap):

snapcraft --debug

If prompt for

Support for 'multipass' needs to be set up. Would you like to do it now?

or

LXD is required but not installed. Do you wish to install LXD and configure it with the defaults?

you may need to init it, described here Accept (y).
Built package will be in linux directory.

To install snap from compiled package:

sudo snap install --dangerous --classic ./transaction-decorator_1.0.1_amd64.snap

To run snap from the terminal (and see logs):

transaction-decorator

To run with debugger shell:

snap run --shell

To clean snapcraft:

snapcraft clean

to remove snap:

sudo snap remove transaction-decorator

to run additional app mentioned in apps part of snapcraft.yaml for example to run copying scripts run:

snap run transaction-decorator.run-user-data-copy

lxd setup:

sudo usermod -a -G lxd $USER
newgrp lxd
lxd init

leave default, if default is existing then use existing

Troubleshooter

 File "/snap/snapcraft/10595/lib/python3.10/site-packages/packaging/version.py", line 200, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '5.21.1 LTS'

you need to update snapcraft to deal with it:

sudo snap refresh snapcraft