Linuxcnc on Debian Bookworm - a shortcut to master branch

More
05 Aug 2022 21:27 #249160 by isdicnc

I can confirm that the image in this link works with a Raspberry Pi 4 with 4Gb but does not work with an Rpi400.


Great, I was able to install it too but I did not get the PREEMPT_RT kernel on my Pi 4B and had some stability issues
Just this minute, I have finished compiling linuxcnc from source after installing the PREEMPT_RT based on this method
github.com/kdoren/linux/releases/tag/rpi_5.15.27-rt35
and this 64 bit image
downloads.raspberrypi.org/raspios_arm64/...os_arm64-2022-04-07/
I have a long way to go to understand the pi

So I assume that the install:apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash

Was built against the stock non-RT kernel installed with Bookworm?

len

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

More
06 Aug 2022 12:04 #249192 by rodw
Lcnc is not built against preempt_rt but requires it to do real time stuff. I can't really remember what i did but th epreempt_rt kenrel on the pi required a "special" install

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

More
06 Aug 2022 14:12 #249202 by isdicnc
Got you, Thanks.

This install is just for Debian 12 on a regular type PC.

len

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

More
06 Aug 2022 17:02 #249215 by Bari
Now in the Debian repos for Bookworm: linuxcnc-uspace (2.9.0)

packages.debian.org/bookworm/linuxcnc-uspace

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

More
06 Aug 2022 22:15 #249233 by rodw

Got you, Thanks.

This install is just for Debian 12 on a regular type PC.

len

And the preempt_rt patch is a dependency of lunuxcnc-uspace so it should get installed with linuxcnc. so a simple reboot should be all that is required.

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

More
20 Jun 2023 23:09 - 20 Jun 2023 23:16 #273967 by --Matt--
So, some months on (and hopefully after quite a bit more testing) is this now the best way to install LinuxCNC on a normal PC?

Do you just install the current stable debian (bookworm) and then apt install linuxcnc-uspace?
Last edit: 20 Jun 2023 23:16 by --Matt--.

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

More
21 Jun 2023 00:00 #273971 by tommylight

Do you just install the current stable debian (bookworm) and then apt install linuxcnc-uspace?

Yes, that is now the best way, and easiest by far.
Might want to do
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
Just so you have everything you might ever need.

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

More
21 Jun 2023 00:25 #273973 by rodw
the 2.9 docs are now your friend
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
This thread is now obsolete

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

More
21 Jun 2023 00:28 #273975 by rodw
Actually, Tommy, perhaps you could edit the first post pointing them to that link and advising of the new method 
The links are wrong now that Bookworm has been officially released.

I went through the forum and edited a lot of my posts to reflect this.

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

More
21 Jun 2023 00:59 #273976 by tommylight

Actually, Tommy, perhaps you could edit the first post pointing them to that link and advising of the new method 

Done, thank you.
P.S.
I would really, really remove the RPI line near the top of that page, it will confuse and/or mess up users experience, although it is clearly stated that it is for RPI.

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

Time to create page: 0.127 seconds
Powered by Kunena Forum