Debian 11/ Bullseye / MX Linux 21 - how to run a buildbot AND RIP install?

More
07 Aug 2021 15:18 #217123 by robertspark
how would i tell linuxcnc to run off a buildbot or RIP install version (running master / 2.9 for QTPlasmaC and RIP 2.8 git clone for lathe, mill and router Gmoccapy configs

how would i change this to point to the rip install
linuxcnc /home/rob/linuxcnc/configs/Mill-GMO/Mill-GMO.ini

Please Log in or Create an account to join the conversation.

More
07 Aug 2021 15:57 - 07 Aug 2021 16:09 #217132 by Aciera
first you would have to cd to the /home/rob/your-rip-install-folder and set the environment by issuing
source scripts/rip-environment

then you can run

linuxcnc /home/rob/your-rip-install-folder/configs/Mill-GMO/Mill-GMO.ini

Note that you can also write a little bash script an have that called by klicking a launcher icon on the desktop.
#!/bin/bash
cd /home/user/linuxcnc-dev
source scripts/rip-environment
linuxcnc ./configs/1-Vertikal-XYZA-Normal/Vertikal_XYZA_Normal.ini
Last edit: 07 Aug 2021 16:09 by Aciera. Reason: add script
The following user(s) said Thank You: robertspark

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 00:08 #217168 by phillc54
As an alternative you can run the linuxcnc script directly which sets up the environment correctly
~/linuxcnc-dev/scripts/linuxcnc ~/linuxcnc/configs/mill/mill.ini
The following user(s) said Thank You: robertspark, gitin

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 07:59 #217191 by rodw
You can create a desktop shortcut and edit it so it does what Phill Suggests. I did not know that trick!

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 09:16 #217198 by robertspark
thanks all
think I've got it sorted
I have installed the last working (for me! ) master buildbot to run my mill. lathe and router.

I have a RIP install for QTPlasmaC.

really it's the changes for QTPlasmaC I am after, where as the mill, router and lathe are just running Gmoccapy and are simple 3 / 2 axis motion with different cutter options (laser diode, drag knife, marker pen, and conventional tools)

I'll just keep the RIP up to date via git clone and re-make as it only takes a few minutes.

this change from python 2 to 3 surprised me (how it was done) considering how ingrained python 2 is within linuxcnc AND Debian Buster.....

will an early switch to Debian 11 create outher issues too with deprecated packages for the stable lcnc 2.8...... given stuff like gtk2 may be missing and old glade versions too. (saw your message on the mailing list rod)

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 09:58 #217200 by phillc54
I can run all existing Buster python3 stuff on a RIP build that currently works on MX-Linux 21 which is a Debian11 derivative. It won't run a Buildbot package which is expected as they are python3.7 and MX21 is python3.9.
SO I don't think there will be any issues once the current ones are sorted.

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 10:18 #217204 by robertspark
MX-Linux 21

mxlinux.org/blog/mx-21-beta-1-now-availa...or-testing-purposes/

did you have much work to do to get Linuxcnc to run on it?
RT-patch / kernel replace i know.

was there a lot of dependencies required?

any problems sourcing them?

{just having a go at upgrading Debian 10 to 11 at the moment).

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 10:38 #217205 by phillc54
It was quite easy, I have a list of dependencies that I could post tomorrow. The RT kernel is in the stock repositories.

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 10:51 #217207 by rodw

MX-Linux 21

mxlinux.org/blog/mx-21-beta-1-now-availa...or-testing-purposes/

did you have much work to do to get Linuxcnc to run on it?
RT-patch / kernel replace i know.

was there a lot of dependencies required?

any problems sourcing them?

{just having a go at upgrading Debian 10 to 11 at the moment).

 

The other option is to run Debian Bullseye Release candidate 3 
www.debian.org/devel/debian-installer/
Download the DVD ISO so its all in one file
It will be their official release on the 14 of this month
lists.debian.org/debian-devel-announce/2021/07/msg00003.html
It also includes the RT kernel and has a later kernel than MXLinux so it includes some newer drivers like the RT8125 network driver used by the Odroid H2+ and others.
You can install PREMPT_RT from synaptic if you search for linux-image
Also install the headers by searching for linux-header
Add a new repo in synaptic containing ppa:danielrichter2007/grub-customizer
and install grub-customizer as well.
In grub-customizer move the preempt-rt to the first entry in the list so it boots into by default.\I'll post the dependencies in the next post

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 10:54 #217208 by rodw
Paste the following into the terminal

Warning: Spoiler!


Then build a RIP config as per the docs. If you want to create a deb file follow the docs. It will create the debs in your home folder. Use gdebi to install it into the menus!
The following user(s) said Thank You: robertspark, gitin

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum