Picoscope 7 Installation on Fedora 40

Post any questions related to the new PicoScope 7 software
Post Reply
QikPWR2
Newbie
Posts: 0
Joined: Sat May 18, 2024 7:29 pm

Picoscope 7 Installation on Fedora 40

Post by QikPWR2 »

I open this topic to provide help on installing Picoscope 7 on Fedora 40. I don't have a fresh Fedora 40 install to try the steps I provide below so please let me know if it doesn't work for you.

Add the picoscope repo to dnf if you don't have it already. As root user, create a file called picoscope.repo in /etc/yum.repos.d/ with the following content.

Code: Select all

name = PicoScope drivers and UI
baseurl = https://labs.picotech.com/rc/picoscope7/rpm/
gpgcheck = 0
gpgkey = https://labs.picotech.com/rc/picoscope7/rpm/repodata/repomd.xml.key
Uninstall picoscope if you already have it:

Code: Select all

sudo dnf erase picoscope
Install mono:

Code: Select all

sudo dnf install mono-core mono-data-oracle
Do not use the newer gtk-sharp3-3.22. In case you have it, uninstall:

Code: Select all

sudo dnf erase gtk-sharp3
EDIT: You must do the exclusion described below.
Prevent dnf from installing the newer gtk-sharp. Edit the /etc/dnf/dnf.conf file and add this line in the [main] section:

Code: Select all

exclude=gtk-sharp3
Download gtk-sharp3-2.99.3-33.fc36.x86_64.rpm from https://kojipkgs.fedoraproject.org//pac ... x86_64.rpm

Code: Select all

sudo rpm -ivh gtk-sharp3-2.99.3-33.fc36.x86_64.rpm
Install libfuse:

Code: Select all

sudo dnf install fuse fuse3
You may need to create some symlinks so picoscope can find the library, but I don't remember if that was required or not.

Install the picoscope libraries:

Code: Select all

sudo dnf install libpicocv libpicocv libpicoipp libpicoipp libps2000 libps2000a libps3000 libps3000a libps4000 libps4000a libps5000 libps5000a libps6000 libps6000a libpsospa
At this point you can run the following command, which will fail, to see the missing dependencies. You should only be missing what's shown below. If more are missing, maybe you can install them before going to the next step:

Code: Select all

sudo dnf install picoscope
And the output should look like this:

Code: Select all

Error: 
 Problem: conflicting requests
  - nothing provides mono(System.Numerics.Vectors) = 4.1.3.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides libfuse2 >= 2.9.7 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.Text.Encoding.CodePages) = 7.0.0.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.Reactive) = 5.0.0.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.Memory) = 4.0.1.1 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.ValueTuple) = 4.0.2.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.Threading.Tasks.Extensions) = 4.2.0.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(System.Buffers) = 4.0.2.0 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
  - nothing provides mono(Pico.MVVM) = 1.3.24.235 needed by picoscope-7.1.32-1r19681.x86_64 from picoscope
(try to add '--skip-broken' to skip uninstallable packages)
Force install picoscope, ignoring missing dependencies to mono and libfuse2:

Code: Select all

sudo rpm -Uvh --nodeps $(repoquery --location picoscope)
sudo dnf update
Last edited by QikPWR2 on Sat Jul 06, 2024 1:18 am, edited 1 time in total.
mips
Newbie
Posts: 0
Joined: Thu Jul 04, 2024 10:58 am

Re: Picoscope 7 Installation on Fedora 40

Post by mips »

I tried it on Fedora 40 fresh install. I got errors and warnings from the start. I didn't post them because they are mainly syntax errors and warnings about non existent files on the repo.

I am so disappointed about the instructions. I think it is better not to provide such things if they are not verified or they are just some random try and see actions.

Thank you but I cannot use that.
mips
Newbie
Posts: 0
Joined: Thu Jul 04, 2024 10:58 am

Re: Picoscope 7 Installation on Fedora 40

Post by mips »

Just to continue with some corrections:

/etc/yum.repos.d/picoscope.repo needs a first line like this: [picoscope]

sudo rpm -ivh gtk-sharp3-2.99.3-33.fc36.x86_64.rpm needs the full path to the package, usually user's Download directory.

sudo rpm -Uvh --nodeps $(repoquery --location picoscope) will not work, it is better to use sudo rpm -Uvh --nodeps followed by the full path to picoscope package , like https://labs.picotech.com/rc/picoscope7 ... x86_64.rpm

sudo dnf update complains a lot, but may be useful when a new release is in the repo.
mips
Newbie
Posts: 0
Joined: Thu Jul 04, 2024 10:58 am

Re: Picoscope 7 Installation on Fedora 40

Post by mips »

I am able to install Fedora 40 as a fresh operating system and try all the things from the start. I posted some corrections, but i want to discuss more this topic and ask you to edit the OP just to be right.

I cannot use PM, so I am asking here, please.

What is wrong with that last version of gtk-sharp3 package that you had to install an old one?
I tried with the last version of this and picoscope is not starting at all.

For mono installation, are you sure there are only those 2 packages needed?

For the picoscope libraries installation section, why do you need to double the name for some libraries?

Is it ok to use mono and ignore all those mono errors reported?

Once we clear this, I think you can edit the original posting and maybe we can ask an admin to remove those extra messages. With my corrections, I was able to install and run picoscope. Sometimes it goes in a reset of the hardware cycle, or it cannot communicate with it, but this is another topic. As I said, I am ready to install on Fedora 40 and Debian 12 and to test. I will side with the most stable one as a long run.

Thank you.
jazerix
Newbie
Posts: 0
Joined: Wed Sep 04, 2024 7:23 am

Re: Picoscope 7 Installation on Fedora 40

Post by jazerix »

It seems the gpg key has moved since the creation of this thread. I also don't understand why gpgcheck was set to zero in op's post.

In any case, I have found this repo to work with Fedora 40:

Code: Select all

[picoscope-repo]
name=PicoScope drivers and UI
baseurl=https://labs.picotech.com/rc/picoscope7/rpm/
gpgcheck=1
enabled=1
gpgkey = https://labs.picotech.com/rc/picoscope7/rpm/repodata/repomd.xml.asc
ja@jaa.org.uk
Newbie
Posts: 0
Joined: Mon Jan 28, 2019 10:30 am

Re: Picoscope 7 Installation on Fedora 40

Post by ja@jaa.org.uk »

I have been following this forum and now "seem" to have a working copy of
picoscope 7 on a fully updated F40.
It has only been briefly tested.
Thanks to all for the details shown here.
I attach details of the installation, it may be of use to someone.
Attachments
README.txt
(44.65 KiB) Downloaded 58 times
Post Reply