User Install for Probe Basic Py3 (For Machine Control)
04 Mar 2023 15:07 - 01 May 2023 17:07 #265849
by Lcvette
User Install for Probe Basic Py3 (For Machine Control) was created by Lcvette
Official documentation is now available for the USER .deb installation atv the link below:
Probe Basic Installation Instructions Page
Probe Basic Installation Instructions Page
Last edit: 01 May 2023 17:07 by Lcvette. Reason: Official Installation docs are now up!
Please Log in or Create an account to join the conversation.
04 Mar 2023 20:33 #265868
by rodw
Replied by rodw on topic User Install for Probe Basic Py3 (For Machine Control)
If Debian Bookworm is a prerequsite, perhaps the readme should mention that Linuxcnc is in the Bookworm repositories and can be installed by typing:
Note that linuxcnc-uspace-dev is only required if you need some of the developer tools (like halcompile).
mesaflash is only required if you need to manage mesa firmware and bitfiles.
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
Note that linuxcnc-uspace-dev is only required if you need some of the developer tools (like halcompile).
mesaflash is only required if you need to manage mesa firmware and bitfiles.
The following user(s) said Thank You: tommylight, Lcvette
Please Log in or Create an account to join the conversation.
04 Mar 2023 23:56 #265876
by Lcvette
Replied by Lcvette on topic User Install for Probe Basic Py3 (For Machine Control)
Updated!
Please Log in or Create an account to join the conversation.
05 Mar 2023 01:00 - 06 Mar 2023 23:28 #265883
by nwallace
Replied by nwallace on topic User Install for Probe Basic Py3 (For Machine Control)
EDIT: The issues I encountered have been fixed.
Warning: Spoiler!
I will preface this by saying that I am about as far as it gets from being an expert in Linux. I know enough to break things and that's about it. After installing a fresh copy of Debian 12, Linuxcnc 2.9 and python3 followed by the deb packages, I got a bunch of errors about missing python modules when I tried to start LinuxCNC with Probe Basic. I ended up needing to install the following in order for it to work:
python3-docopt
python3-qtpy
python3-psutil
python3-pyudev
python3-vtk9
python3-deepdiff
python3-sqlalchemy
python3-pyqtgraph
python3-simpleeval
Once these were installed, I was able to start LinuxCNC with Probe Basic. I don't know if that means it is all good to go but it did start. Here is the process I used to setup everything before installing your packages in case it helps:
Installed Debian 12 Alpha 2 with Xfce desktop using wired network connection
cdimage.debian.org/images/bookworm_di_alpha2/amd64/iso-cd/
Installed required non-free firmware - www.debian.org/releases/stable/amd64/ch06s04
Installed isenkram-cli
Ran isenkram-autoinstall-firmware
Rebooted
Installed LinuxCNC section - gnipsel.com/linuxcnc/debian-12-emc.html
Installed gdebi
Installed 5.10.0-18-rt kernel
Rebooted
Removed 6.1.0-3 and 6.1.0-5 kernels
installed linuxcnc-uspace
installed mesaflash
Installed mesact - gnipsel.com/linuxcnc/mesact/install.html
Installed python3 (already installed by default - version 3.11.2-1)
python3-docopt
python3-qtpy
python3-psutil
python3-pyudev
python3-vtk9
python3-deepdiff
python3-sqlalchemy
python3-pyqtgraph
python3-simpleeval
Once these were installed, I was able to start LinuxCNC with Probe Basic. I don't know if that means it is all good to go but it did start. Here is the process I used to setup everything before installing your packages in case it helps:
Installed Debian 12 Alpha 2 with Xfce desktop using wired network connection
cdimage.debian.org/images/bookworm_di_alpha2/amd64/iso-cd/
Installed required non-free firmware - www.debian.org/releases/stable/amd64/ch06s04
Installed isenkram-cli
Ran isenkram-autoinstall-firmware
Rebooted
Installed LinuxCNC section - gnipsel.com/linuxcnc/debian-12-emc.html
Installed gdebi
Installed 5.10.0-18-rt kernel
Rebooted
Removed 6.1.0-3 and 6.1.0-5 kernels
installed linuxcnc-uspace
installed mesaflash
Installed mesact - gnipsel.com/linuxcnc/mesact/install.html
Installed python3 (already installed by default - version 3.11.2-1)
Last edit: 06 Mar 2023 23:28 by nwallace. Reason: Updated information
Please Log in or Create an account to join the conversation.
05 Mar 2023 01:21 - 05 Mar 2023 01:25 #265887
by rodw
I would start with the Bookworm non-free iso
cdimage.debian.org/cdimage/unofficial/no...onfree/amd64/iso-cd/
I would only use dist-upgrade if I wanted to update from say Bullseye to Bookworm so the commands become
Downgrading to the 5.10 kernel on Bookworm (now kernel 6.1) makes no sense as that is the kernel included in Bullseye. This probably explains you missing dependencies
Note that there is no need to install the RT kernel as its a dependency of linuxcnc-uspace so it gets installed automatically with linuxcnc.
Finally, the instructions are for Bookworm (Debian 12) and you actually installed on Bullseye (Debian 11)
Unfortunately some of the gnipsel stuff is dated..
Replied by rodw on topic User Install for Probe Basic Py3 (For Machine Control)
This seemed to be a long winded method of installing Linuxcnc on Bookworm. This may have meant you missed out on some things.I will preface this by saying that I am about as far as it gets from being an expert in Linux.
I would start with the Bookworm non-free iso
cdimage.debian.org/cdimage/unofficial/no...onfree/amd64/iso-cd/
I would only use dist-upgrade if I wanted to update from say Bullseye to Bookworm so the commands become
sudo apt update (this just refreshes the repo index after install)
sudo apt upgrade (this will bring you up to the current bookworm from the alpha iso released sept 2021)
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash (install all the linuxcnc components)
Note that there is no need to install the RT kernel as its a dependency of linuxcnc-uspace so it gets installed automatically with linuxcnc.
Finally, the instructions are for Bookworm (Debian 12) and you actually installed on Bullseye (Debian 11)
Unfortunately some of the gnipsel stuff is dated..
Last edit: 05 Mar 2023 01:25 by rodw.
Please Log in or Create an account to join the conversation.
05 Mar 2023 01:33 #265888
by nwallace
Replied by nwallace on topic User Install for Probe Basic Py3 (For Machine Control)
Forgive my ignorance and simple questions.
Don't we need an rt kernel to run linuxcnc?
I will be using a mesa ethernet card. Do I need to worry about using 5.10 since he says that it works best with? Is he mistaken?
Don't we need an rt kernel to run linuxcnc?
I will be using a mesa ethernet card. Do I need to worry about using 5.10 since he says that it works best with? Is he mistaken?
Please Log in or Create an account to join the conversation.
05 Mar 2023 01:36 #265890
by rodw
Replied by rodw on topic User Install for Probe Basic Py3 (For Machine Control)
Yes, you do but I updated my answer. It is installed with linuxcnc-uspace as its a dependency.
But running on the older Bullseye kernel probabklly broke some things...
But running on the older Bullseye kernel probabklly broke some things...
Please Log in or Create an account to join the conversation.
05 Mar 2023 01:38 #265891
by rodw
Replied by rodw on topic User Install for Probe Basic Py3 (For Machine Control)
Thats his opinion. PCW's opinion is above the 4.x kernel in Buster, the 6.1 and higher kernels are an improvement over thos 5.10 and aboveDo I need to worry about using 5.10 since he says that it works best with? Is he mistaken?
Please Log in or Create an account to join the conversation.
05 Mar 2023 02:19 #265893
by Lcvette
Replied by Lcvette on topic User Install for Probe Basic Py3 (For Machine Control)
The doc is updated, I saw the dependencies missing during a clean test install earlier, you can remove that section of your post if you will as the command in the docs is one line that resolves any all missing dependencies. And I'll update once that's been fixed in the build package.
I also would not recommend to downgrade from 6.1 unless your system experiences issues or you were on bullseye and had significantly better latency. Otherwise I'd stay with 6.1.
I also would not recommend to downgrade from 6.1 unless your system experiences issues or you were on bullseye and had significantly better latency. Otherwise I'd stay with 6.1.
Please Log in or Create an account to join the conversation.
05 Mar 2023 03:39 #265895
by nwallace
Replied by nwallace on topic User Install for Probe Basic Py3 (For Machine Control)
Thanks for all the help.
I just did another fresh install using the non-free alpha 1 iso (I still had to install missing firmware to get the gpu to work) and did an apt update and upgrade which did nothing even though I know there is an alpha 2. I then followed the doc in the google drive and triple checked my work. Probe Basic still will not start. What is the one line that you said fixed it? Do you mean the "sudo apt --fix-broken install" line? I already did that on my earlier attempts in order to get the first 2 packages to install. The python3-probe-basic_0.5.3_all.deb package does not give any dependency errors when you install it. I have not yet fixed it but the first error is about the python module "docopt". I assume if I went and installed all those packages I listed it would work.
I just did another fresh install using the non-free alpha 1 iso (I still had to install missing firmware to get the gpu to work) and did an apt update and upgrade which did nothing even though I know there is an alpha 2. I then followed the doc in the google drive and triple checked my work. Probe Basic still will not start. What is the one line that you said fixed it? Do you mean the "sudo apt --fix-broken install" line? I already did that on my earlier attempts in order to get the first 2 packages to install. The python3-probe-basic_0.5.3_all.deb package does not give any dependency errors when you install it. I have not yet fixed it but the first error is about the python module "docopt". I assume if I went and installed all those packages I listed it would work.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds