Linuxcnc on Debian Bookworm - a shortcut to master branch

More
23 Apr 2022 00:43 - 21 Jun 2023 00:56 #240947 by tommylight
This topic is superseeded, use the link below as that is now the best and fastest way to have LinuxCNC up and running.
Thank you.
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
Attachments:
Last edit: 21 Jun 2023 00:56 by tommylight. Reason: edited link
The following user(s) said Thank You: BigJohnT, Ac1dburn

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

More
23 Apr 2022 00:48 - 24 Apr 2022 21:13 #240948 by tommylight
--This is the short version of the above:

-Download the Debian non free image from here:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-dvd/
-Write image to USB
-Boot from USB
-Installing Debian
-Reboot.

-Open a terminal and type:
sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
-reboot
-
-Just in case you wan to have useful stuff installed:
sudo apt install inkscape gimp vlc freecad librecad blender darktable kino kdenlive
-press Y
-Enjoy.
Last edit: 24 Apr 2022 21:13 by tommylight. Reason: correction

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

More
23 Apr 2022 03:42 - 24 Apr 2022 19:26 #240963 by rodw
Tommy,

Sorry you are out of date as its now migrated from unstable to testing,
This is on my agenda to test.
You should now use the testing non-free iso which you can download from here so you only have one step.
cdimage.debian.org/cdimage/unofficial/no...weekly-builds/amd64/
On Windows, burn it to a USB stick  using rufus
Last time I burnt to a real DVD using imgburn on windows

Then it should be just a matter of doing
sudo apt update 
sudo apt install linuxcnc-uspace linuxcnc-uspace mesaflash 

One thing I have noticed is that when installing the ISOs sometimes it wants to look on the dvd first.
You can fix that by 
sudo apt install nano 
sudo nano /etc/apt/sources.list
and then commenting out lines containing cd or dvd by placing a # 
Then do sudo apt update again.

To enable auto logon, follow these instructions
www.how2shout.com/linux/enable-or-disabl...-debian-11-bullseye/

Disabling the screen lock can be done from settings/Privacy/Screenlock (click on the region at top right to get to settings)

That sets everything up nicely

Note also that if you do need to get to the latest version of QTplasmac or use some of the very recent features of  V 2.9, you still need to build from source. The dependencies are much reduced. I have a screenshare walking through the process here
Last edit: 24 Apr 2022 19:26 by rodw.
The following user(s) said Thank You: hhogendoorn, johnmc1, Ac1dburn

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

More
23 Apr 2022 03:47 #240964 by rodw
I also forgot to mention is that the debian buildbots a compiling from source so this should be available on about 9 platforms including arm64 which should cover the pi 4 as well.

You can get that here forDebian 12 Testing (Bookworm)
raspi.debian.net/daily-images/
The following user(s) said Thank You: tommylight

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

More
23 Apr 2022 12:36 #240987 by tommylight
Well, that did not last! :)
Thank you RodW, i will update the original post.

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

More
23 Apr 2022 12:53 #240989 by tommylight
Rod,
The link you provided has a single image so i added the weekly live builds, there are all the versions there and there is no version number, so no need for updating this guide.
Thank you for everything.

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

More
23 Apr 2022 21:15 - 23 Apr 2022 21:17 #241027 by rodw
Tommy,  I think the difference is the live build you used allows you to boot the CD image live without installing on the HDD.
I think the different live versions eg xfce, mate etc refer to the desktop used by the live image.

When you run the  installer, you always seem to get an option to choose which desktop to use so I don't think it matters which ISO you start from. 

Because the objective is  to install linuxcnc, the live image is useless to us.

I may be wrong, but just what I think is going on.
Last edit: 23 Apr 2022 21:17 by rodw.

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

More
23 Apr 2022 22:01 #241031 by tommylight

When you run the  installer, you always seem to get an option to choose which desktop to use so I don't think it matters which ISO you start from. 

The default was a trimmed down GNOME DE, for every other choice it will have to download packages making the install much longer and requiring network setup. Also the non graphical and graphical install wizards are hard to use for novices.

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

More
23 Apr 2022 23:54 #241040 by rodw
Tommy, it would be good if you could amend the title because its no longer considered unstable when it gets to Debian testing aka Bookworm. There are a number of distributions that are based on Debian testing so it can hardly be called "Unstable"!

Should be something like:  Linuxcnc on Debian Bookworm - a shortcut to master branch.
The following user(s) said Thank You: tommylight

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

More
23 Apr 2022 23:58 #241041 by tommylight
Yeah, forgot about that. :(
Done, thank you.

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

Time to create page: 2.142 seconds
Powered by Kunena Forum