Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
10 Mar 2023 17:10 #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...
The following user(s) said Thank You: bkt, my1987toyota

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

More
10 Mar 2023 19:00 - 10 Mar 2023 19:20 #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/
Last edit: 10 Mar 2023 19:20 by my1987toyota.
The following user(s) said Thank You: Aciera

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

More
10 Mar 2023 19:56 #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.
The following user(s) said Thank You: my1987toyota

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

More
10 Mar 2023 21:37 #266339 by rodw
For ease of use and simple installation, I would go with debian bookworm non free netinstall (CD image)
The following user(s) said Thank You: my1987toyota

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

More
10 Mar 2023 22:21 #266345 by my1987toyota
rod is that the one referenced on JT's site?

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

More
11 Mar 2023 00:43 #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 
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
preempt_rt will be installed during this install of 2.9.
The following user(s) said Thank You: tommylight, my1987toyota

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

More
11 Mar 2023 03:34 #266367 by spumco
The alpha-2 is what I used in the qtpyvcp-dev VM install - everything just worked.  No fuss.
The following user(s) said Thank You: tommylight, rodw, my1987toyota

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

More
12 Mar 2023 11:20 #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
The following user(s) said Thank You: tommylight, my1987toyota

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

More
15 Mar 2023 08:21 #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 or Create an account to join the conversation.

More
15 Mar 2023 08:41 #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 or Create an account to join the conversation.

Time to create page: 0.440 seconds
Powered by Kunena Forum