LinuxCNC on Linux Mint 20 quick and nearly easy install

More
07 Aug 2020 11:26 #177594 by Tady
I get that.. Support for python2 is beeing droped. But it seems that linuxcnc still uses python2.
Anyway if I run check dependencies there it says python needs to be installed. And if i install it apt removes some packages i think one of them is python-lxml and inkscape. And some others.
And if I install inkscape or any of the remived packages. Apt removes python. So basicaly i'm going in circles.
Some packages require older version of python. I don't know.

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

More
08 Aug 2020 16:18 #177689 by tommylight
Edited the original post, removed 2 steps from the procedure.
So far it worked on 4 PC's without a single issue.
-
As for "run in place" i have not used that in quite a while, so i can not help, but i do recall that RIP was easier to make work with Mint 17 and 18.

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

More
08 Aug 2020 16:23 #177691 by Tady
No problems on 19 also. Only 20 didn't work.
The following user(s) said Thank You: tommylight

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

More
10 Aug 2020 02:52 #177787 by rootboy
I had an error about not being able to modify "iptables", which made sense since it wasn't included in Mint 20. Adding a blank "iptables" file fixed this.
The following user(s) said Thank You: tommylight

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

More
23 Aug 2020 11:16 - 23 Aug 2020 11:37 #179092 by EisbaerLars
Installed that yesterday along your guide and it went like a charm!
Thank you so much - you made my day!!!

Only thing I couldn't achieve (but that's not tied in the installation) is to get the RT Kernel line as the one in the main Grub window instead of the one with the original kernel - maybe someone can tell how to achieve this.

Update: Found the grub customizer - easy to install and does exactly what I wanted
Last edit: 23 Aug 2020 11:37 by EisbaerLars.
The following user(s) said Thank You: tommylight

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

More
23 Aug 2020 13:19 #179097 by pinsyd1
Worked flawlessly for me with Ver 2.8.

Thank you for this!
The following user(s) said Thank You: tommylight

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

More
23 Aug 2020 15:47 #179111 by tommylight
You are both welcomed, always.
Grub customizer is a helpful tool but it messes to much with the grub stuff, never had issues with it though.
That can also be done by editing grub and updating it, but that also has it's risks as any typo will render the PC non bootable.

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

More
23 Aug 2020 23:22 #179158 by BeagleBrainz
See this article regarding saving your last choice, ie you boot, xyz isn't your default, choose xyz and next boot xyz will be automatically selected.

www.maketecheasier.com/set-grub-remember-last-selection/
The following user(s) said Thank You: tommylight

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

More
24 Aug 2020 12:53 #179240 by franstrein
Hi all,
Thanks for the excellent information in this article.
Using this, I was able to get LinuxCNC running on my upgraded system in RT mode with Mint 20.

One issue remains, which I cannot find a solution for yet:
I added a new WiFi adapter to it, a TPLink Archer T2U Plus AC600, on an USB port. (The one with the big antenna).

For the "regular Mint 20" image, I can install it, using instructions to download a driver and use dkms to build it.
For example as explained on
forums.linuxmint.com/viewtopic.php?p=172...39f42dc289e#p1726488

However:
When I do this in the RT kernel, the same steps fail because the "sudo ./dkms-install.sh" command cannot find the proper kernel source directory for the 4.9.0-13-rt-amd64 kernel.
So where would that be located? This kernel does not have a "build" directory...
Should this be possible for this kernel, or do I need a different adapter?

Thanks,
Frans

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

More
24 Aug 2020 14:38 #179246 by franstrein
Maybe I found the answer....
Should I install this package:
packages.debian.org/stretch/kernel/linux...rs-4.9.0-13-rt-amd64

Will try this tonight..
Frans

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

Time to create page: 0.101 seconds
Powered by Kunena Forum