Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
3 years 4 months ago #273786 by cmorley
If you compile you can even use python 3.8.10. Python 3.11 seems to be a packaging requirement not a compiling requirement. it used to be easy to change it now it seems to read to python version of the system when building the deb, rather then using a minimum version.
The following user(s) said Thank You: tommylight, Aciera

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

More
3 years 2 months ago - 3 years 2 months ago #277389 by rabler
I have to admit that I struggled a bit to wade through this nearly year-long thread, apologies if I missed something.
Has anyone figured a way around the python3.11 issue for Mint (which I'm using elsewhere too) and LinuxCNC 2.9?  Is building from 2.10 an option on mint?  Or do I need to use Debian?

2.8.4 is not an option, at least not without some real contortions, due to missing kernel modules to support a more recent AMD GPU.

root@vmc:/home/rabler# uname -v
#35-Ubuntu SMP PREEMPT_RT Tue Jan 24 11:45:03 UTC 2023

root@vmc:/home/rabler# apt install linuxcnc-uspace
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linuxcnc-uspace : Depends: python3 (>= 3.11~) but 3.10.6-1~22.04 is to be installed
                   Depends: libboost-python1.74.0 (>= 1.74.0+ds1) but it is not going to be installed
                   Depends: libboost-python1.74.0-py311 but it is not installable
                   Depends: libpython3.11 (>= 3.11.0) but 3.11.0~rc1-1~22.04 is to be installed
                   Recommends: hostmot2-firmware-all but it is not installable
                   Recommends: linux-image-rt-amd64 but it is not installable
                   Recommends: python3-pil.imagetk but it is not going to be installed
E: Unable to correct problems, you have held broken packages. 
 

Last edit: 3 years 2 months ago by rabler. Reason: clarity

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

More
3 years 2 months ago #277390 by tommylight
Not bothering with this anymore since LinuxCNC is officially in the Debian repos and Debian has a Mate edition, so it is the same thing, granted Mint is still somehow much faster at booting.
Get the Debian 12 BookWorm Mate edition ISO, i am pretty sure you can install Mint-Y-blue or whatever Mint theme you want, so it even looks and feels the same.
cdimage.debian.org/debian-cd/current-liv...2.1.0-amd64-mate.iso
The following user(s) said Thank You: rabler

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

More
3 years 2 months ago #277393 by Cant do this anymore bye all
I don't seem to have too much trouble building the most recent git pull of 2.9 on Mint 21 Vanessa.

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

More
3 years 2 months ago #277396 by rodw

Not bothering with this anymore since LinuxCNC is officially in the Debian repos and Debian has a Mate edition, so it is the same thing, granted Mint is still somehow much faster at booting.
Get the Debian 12 BookWorm Mate edition ISO, i am pretty sure you can install Mint-Y-blue or whatever Mint theme you want, so it even looks and feels the same.
cdimage.debian.org/debian-cd/current-liv...2.1.0-amd64-mate.iso
Start here for a Debian 12.1 config and select mate instead of xfce if you must:
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
I just built a Debian 12 box on my work PC and am finding Cinamon to be quite nice too.
The following user(s) said Thank You: rabler

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

More
3 years 2 months ago #277397 by cmorley

I have to admit that I struggled a bit to wade through this nearly year-long thread, apologies if I missed something.
Has anyone figured a way around the python3.11 issue for Mint (which I'm using elsewhere too) and LinuxCNC 2.9?  Is building from 2.10 an option on mint?  Or do I need to use Debian?

2.8.4 is not an option, at least not without some real contortions, due to missing kernel modules to support a more recent AMD GPU.

root@vmc:/home/rabler# uname -v
#35-Ubuntu SMP PREEMPT_RT Tue Jan 24 11:45:03 UTC 2023

root@vmc:/home/rabler# apt install linuxcnc-uspace
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linuxcnc-uspace : Depends: python3 (>= 3.11~) but 3.10.6-1~22.04 is to be installed
                   Depends: libboost-python1.74.0 (>= 1.74.0+ds1) but it is not going to be installed
                   Depends: libboost-python1.74.0-py311 but it is not installable
                   Depends: libpython3.11 (>= 3.11.0) but 3.11.0~rc1-1~22.04 is to be installed
                   Recommends: hostmot2-firmware-all but it is not installable
                   Recommends: linux-image-rt-amd64 but it is not installable
                   Recommends: python3-pil.imagetk but it is not going to be installed
E: Unable to correct problems, you have held broken packages. 
 

You can't seem to specify the python minimum version anymore on the build system.
You would need to compile linuxcnc for mint. (I still use compiled 2.9/master for older Mint)
I bet after that you could use linuxcnc to make a mint deb. IIRC the python version is pulled from the deb making system.
The following user(s) said Thank You: rabler

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

Time to create page: 0.090 seconds
Powered by Kunena Forum