Products > Test Equipment

Open source lxi-tools v2.0 released

<< < (14/22) > >>

WaveyDipole:
Is there an appimage or Flatpack available yet? SNAP is not supported on my Linux distro. Unfortunately I am still stuck on version 1.21 CLI (which works well enough :-) ) as the package comes without the gui tool. It would be nice to be able to use the latest version with my new scope! Even the repository on Linux Mint (which is a Ubuntu derivative) only has 1.21 and does not install the GUI tool either. Due to its covert activity Mint actually disables SNAP although it can be re-enabled if required.

JohanH:
I've built the flatpak a couple of times. Here are the steps for someone who wants to do it:
 - Clone lundmar's flatpak repo, e.g. git clone https://github.com/lxi-tools/lxi-tools.flatpak
 - Update the commit for lxi-gui in the file io.github.lxi-tools.yaml (at the end), so in this case 5ee36cdbeb52c021930cac811b63752855e9444e for the 2.4 release
 - Pull in submodules to the git repo (git submodule init, git submodule update)
 - To build and install, run: flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install

That's it. For more details, consult flatpak documentation for your own distro.

Edit. You probably also have to do the following before building the flatpak unless they are already installed:

 - flatpak install org.gnome.Sdk
 - flatpak install org.gnome.Platform

and select version 43 for both.

RoGeorge:
The lxi-tools are available in the repositories (not the GUI LXI tool, the command line tool called 'lxi').  Used it a couple of days ago, installed from the Ubuntu repositories.

- To install it, from a terminal type 'sudo apt install lxi-tools'.
- To show the version, type 'lxi --version' (the one installed this week is v2.1)
- To take a screenshot, type 'lxi screenshot -a 192.168.1.4'.  Replace 192.168.1.4 with the IP address of your instruments.
- To find more, type 'man lxi'.

WaveyDipole:

--- Quote from: RoGeorge on December 21, 2022, 03:49:19 pm ---The lxi-tools are available in the repositories (not the GUI LXI tool, the command line tool called 'lxi').  Used it a couple of days ago, installed from the Ubuntu repositories.

- To install it, from a terminal type 'sudo apt install lxi-tools'.
- To show the version, type 'lxi --version' (the one installed this week is v2.1)
- To take a screenshot, type 'lxi screenshot -a 192.168.1.4'.  Replace 192.168.1.4 with the IP address of your instruments.
- To find more, type 'man lxi'.

--- End quote ---

Thanks. This is what I did in the first instance - installed with apt. That installs just the CLI version. lxi-version returns


--- Code: ---lxi v1.21
--- End code ---

The screenshot command you kindly posted does work and I had got that far. I tested it and it works with the MSO5000 so I do have a CLI solution, even though it be an older version of the software. Which Linux distro are you using?


--- Quote from: JohanH on December 21, 2022, 02:56:26 pm ---I've built the flatpak a couple of times. Here are the steps for someone who wants to do it:
 - Clone lundmar's flatpak repo, e.g. git clone https://github.com/lxi-tools/lxi-tools.flatpak
 - Update the commit for lxi-gui in the file io.github.lxi-tools.yaml (at the end), so in this case 5ee36cdbeb52c021930cac811b63752855e9444e for the 2.4 release
 - Pull in submodules to the git repo (git submodule init, git submodule update)
 - To build and install, run: flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install

That's it. For more details, consult flatpak documentation for your own distro.

--- End quote ---

I got as far as the pulling in submodules step which completed successfully. However the build and install step does not work.


--- Code: ---$ flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
error: org.gnome.Sdk/x86_64/43 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 43
--- End code ---

I cannot tell gnome which package I need to install - there are dozens of them! Google was not too helpful either. I am still trying to figure that out. I tried gnome-devel which installed dozens of packages on my system but didn't work. If anyone has any idea which one it needs, that would be appreciated.

JeremyC:

--- Quote ---I got as far as the pulling in submodules step which completed successfully. However the build and install step does not work.


--- Code: ---$ flatpak-builder build io.github.lxi-tools.yaml --force-clean --user --install
error: org.gnome.Sdk/x86_64/43 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 43
--- End code ---

I cannot tell gnome which package I need to install - there are dozens of them! Google was not too helpful either. I am still trying to figure that out. I tried gnome-devel which installed dozens of packages on my system but didn't work. If anyone has any idea which one it needs, that would be appreciated.

--- End quote ---

Try:

--- Code: ---sudo apt install gnome-platform-devel
--- End code ---

However, I suggest to install "snap", or enable it if already installed and go from there.

--- Code: ---sudo apt update
sudo apt install snapd
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod