How to upgrade to master branch of LinuxCNC for rpi4 from LinuxCNC 2.9.3

More
05 Sep 2024 19:46 #309459 by amanker
I am running LinuxCNC 2.9.3 on Raspberry Pi4. Installed using official LinuxCNC image. Its working properly.
I want to upgrade this installation to latest master branch. 
How can I upgrade to master branch? I searched a lot but didn't find any answer.

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

More
07 Sep 2024 08:45 - 07 Sep 2024 08:47 #309545 by andypugh
For an x86 (Standard PC) system you can change your repository settings to point to the buildbot: buildbot2.highlab.com
But as you can tell if you look there, we don't have any arm64 machines building images there.

So, that just leaves building from source. Which is actually fairly straightforward. Also, if you build from source you can have both versions co-existing on the same machine, if you want.

linuxcnc.org/docs/devel/html/code/building-linuxcnc.html

If you want to have the very latest version then don't try the tarball route, go straight to using Git. That way each update is just a case of "git pull", followed by "make".

Compiling "run in place" as described there is quickest and most adaptable, but it does mean that you need to perform the incantation:
cd linuxcnc-dev
. ./scripts/rip-environment
linuxcnc
(Yes that really is dot space dot slash)
To start Linuxcnc. But you can make a desktop shortcut to do this.

If you build and install a .deb then it will look exactly like a standard installation, with the downside that every update will take about an hour to buid and install, rather than a few seconds.

You will need to install git, and a whole lot of dependencies. Don't be surprised by this.
Last edit: 07 Sep 2024 08:47 by andypugh.

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

More
07 Sep 2024 18:43 #309598 by amanker
Thanks a lot for guiding me the upgrade path. I will try it and report back.
Its nice to hear that 2.9.3 and latest master can co exist on same system.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum