Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
3 years 7 months ago #266304 by tommylight
Set it and forget it = the official ISO with 2.8.4
For anything else, i still use Mint 21 with 2.9 as i still have the deb.
For the production machines Mint 19.3 with 2.8.4 for PlasmaC
For anyone else on the risky side, use BookWorm with 2.10.
-
As for stable, i have no issues ever, except with QtPlasmaC still hangs for no reason sometimes, e-stop button does not work ever for quite a while, etc...

Please Log in to join the conversation.

More
3 years 7 months ago #266317 by my1987toyota
I came across a link for upgrading the python on Mint 21 to 3.11 is that no longer needed for 21.1?
I can't seem to find an answer on line for that one.
www.linuxcapable.com/install-python-3-11-on-linux-mint/

Please Log in to join the conversation.

More
3 years 7 months ago #266327 by tommylight
Already tested with 21.1, does not work.
I did also try every possible way of installing Python on Mint 20, nothing worked. At one point i had 8 versions of python installed. Some issues with paths and linking ...
The link you provided looks quite thorough compared to what i used then, so might just work.
If i get a chance, i will give it a run.

Please Log in to join the conversation.

More
3 years 7 months ago #266339 by rodw
For ease of use and simple installation, I would go with debian bookworm non free netinstall (CD image)

Please Log in to join the conversation.

More
3 years 7 months ago #266345 by my1987toyota
rod is that the one referenced on JT's site?

Please Log in to join the conversation.

More
3 years 7 months ago #266362 by rodw

rod is that the one referenced on JT's site?
Possibly but I just found out this morning its changed on 23 Feb.
The non-free firmware is now included in the alpha-2 release and there were warnings telling me not to go to the non-free anymore
cdimage.debian.org/cdimage/bookworm_di_alpha2/amd64/iso-cd/

Debian's hard freeze pending Bookworm becoming the official relaease starts tomorrow so this is pretty solid.
then just 
Code:
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
preempt_rt will be installed during this install of 2.9.

Please Log in to join the conversation.

More
3 years 7 months ago #266367 by spumco
The alpha-2 is what I used in the qtpyvcp-dev VM install - everything just worked.  No fuss.

Please Log in to join the conversation.

More
3 years 7 months ago #266483 by Aciera
I have just installed LinuxMint 21.1 'Vera' and compiled the latest 2.10pre (master) on a machine (without a realtime kernel).
After getting errors regarding python when starting linuxcnc i used the link provided by my1987toyota above
( forum.linuxcnc.org/9-installing-linuxcnc...-21?start=140#266317 )
to upgrade python from 3.10 to 3.11 using the 'PPA-method' and can confirm that everything seems to be running fine.
I did have to install the openGL module using:
pip install pyopengl

Thanks

Please Log in to join the conversation.

More
3 years 7 months ago #266729 by song_gy
Hello Aciera, I have tried this method a few times and it still prompts that there is a problem with pyhon. Can you share your specific installation method?

Please Log in to join the conversation.

More
3 years 7 months ago #266730 by Aciera
Not sure what to say other than that I cloned the git repo for master and installed the missing packages according to the errors using
./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable

until
make && sudo make setuid
went through with no apparent error but trying to load a config in linuxcnc would fail with errors that seemed so be related to python. Using the linked howto to update python to 3.11 and repeating the build process for linuxcnc gave me a working (simulation) setup.

$sudo update-alternatives --config python
on my machine now reports:
   
There are 2 choices for the alternative python (providing /usr/bin/python).

  Selection    Path                 Priority   Status

  0            /usr/bin/python3.11   8         auto mode
* 1            /usr/bin/python3.10   7         manual mode
  2            /usr/bin/python3.11   8         manual mode

 

it still prompts that there is a problem with pyhon

Where/ when does this prompt come up?

Please Log in to join the conversation.

Time to create page: 0.180 seconds
Powered by Kunena Forum