Installing LinuxCNC 2.9 or Master on Linux Mint 21

More
3 years 7 months ago #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
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.
The following user(s) said Thank You: tommylight, my1987toyota

Please Log in or Create an account 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.
The following user(s) said Thank You: tommylight, rodw, my1987toyota

Please Log in or Create an account 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
The following user(s) said Thank You: tommylight, my1987toyota

Please Log in or Create an account 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 or Create an account 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 or Create an account to join the conversation.

Time to create page: 0.299 seconds
Powered by Kunena Forum