Other installation methods and compiling LinuxCNC

More
18 Mar 2022 13:28 #237634 by tommylight
This is a continuation of the discussion started here so it got out of topic a bit there.
Putting it here so it is easier to find.
forum.linuxcnc.org/plasma-laser/44961-th...deas?start=20#237362

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

More
18 Mar 2022 13:49 #237638 by tommylight
It was early in the morning .... THIS IS NOT A GUIDE, use at your own risk, be ready to reinstall at random
After the last nights chat on the link above, despite my eyes hurting badly and greatly deprived of sleep, i went the "Nuclear" route:
-Install Linux Mint 20.3 Mate edition
-Add the Debian unstable/testing/bookworm/"do not go there" repos in /etc/apt/sources.list
-sudo apt update < will complain about missing keys, google, paste
-sudo apt full upgrade < it requires downloading and installing over 1600 packages, grab a coffe
-it will fail during update
-sudo apt -f install < will continue and finish
-sudo apt full upgrade < will download some other small stuff and finish, will ask to change the existing stuff, hit enter
-sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash <will download and install a lot of other stuff together with RT kernel, but i did install the kernel before this, so i have to recheck
-will fail
-sudo apt -f install <will finish ok
-reboot
-aaaand boots with no GUI, so log in and type "startx"
-WORKS ! :)
QtPlasmaC starts and works in SIM, so assuming it will work properly. Still room for improvement, disabling old and partner and source code repositories should speed this up a lot. And maybe not break autologin ...

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

More
18 Mar 2022 20:29 - 18 Mar 2022 20:34 #237671 by rodw
Installing linuxcnc on Debian Sid
Lets not make this harder than it needs to be:

1. Download and Install the Debian mini  ISO from ftp.debian.org/debian/dists/sid/main/ins...rent/images/netboot/
2. Be sure to select sid when requested
3. Boot into the new OS and log in
4. Click on Activities top  left
5. Type syn to search for Synaptic, Click on the Synaptic icon and type your password when requested
6. Click on search top right and type linuxcnc
7. Click on the checkboxes and mark for installation the following:
     linuxcnc-uspace, linuxcnc-uspace-dev, your preferred language, mesaflash (if you have a mesa card)
8. Click on apply twice
9. Go and have a coffee while it installs
10. When done, reboot into the PREEMPT_RT kernel and you are done with no terminal commands!!

If you need help installing the mini ISO in step 1, follow this guide haydenjames.io/direct-install-debian-sid...i-iso-w-screenshots/

Linuxcnc can be found under the 9 dot applications icon when you click on Activities
To save a shortcut to linuxcnc click Activities, type linuxcnc, right click and  add to favourites. 
You can access Debian settings and network settings by clicking on the region with the power icon at top right
Last edit: 18 Mar 2022 20:34 by rodw.
The following user(s) said Thank You: tommylight

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

More
18 Mar 2022 20:43 #237672 by rodw

-aaaand boots with no GUI, so log in and type "startx"
-WORKS ! :)
 

Tommy,
Try typing :
sudo tasksel
to select your preferred desktop. It should load on startup
​​​​​​​
The following user(s) said Thank You: tommylight

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

More
18 Mar 2022 22:01 #237682 by tommylight
Very nice, but no cigar! :)
Mini will not work on most of my stuff due to network drivers, i did try that twice, There was no non-free version back when i did.
Thank you very much, i still have some old stuff around to test on, and i know some new stuff works with it, me insisting on having Intel networking does not.

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

More
19 Mar 2022 03:11 #237703 by rodw

Very nice, but no cigar! :)
Mini will not work on most of my stuff due to network drivers, i did try that twice, There was no non-free version back when i did.
Thank you very much, i still have some old stuff around to test on, and i know some new stuff works with it, me insisting on having Intel networking does not.

In that case, it would probably be best to install the nonfree version of testing by choosing an ISO from here:
cdimage.debian.org/cdimage/unofficial/no...ds/amd64/iso-hybrid/
I used xfce

and follow the instruction on debian to upgrade to unstable
wiki.debian.org/DebianUnstable
Hopefully, some packages are shared so it may be faster than using bullseye which also works.
The following user(s) said Thank You: tommylight

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

More
19 Mar 2022 11:40 - 19 Mar 2022 19:19 #237708 by tommylight
I got this far with Mint 20.3:
-Install Linux Mint 20.3 Mate edition
-Add the Debian unstable/testing/bookworm/"do not go there" repos in /etc/apt/sources.list
-sudo apt update < will complain about missing keys, google, paste
-sudo apt full upgrade < it requires downloading and installing over 1600 packages, grab a coffe
-it will fail during update
-sudo apt -f install < will continue and finish
-
-
-sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
-will fail
-sudo apt -f install <will finish ok
-reboot
-
-
-WORKS ! :)
Notice that it did not finish full upgrade, but was enough for LinuxCNC to install and work and GUI starts as usuall.
Last edit: 19 Mar 2022 19:19 by tommylight. Reason: more info

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

More
19 Mar 2022 19:17 #237735 by tommylight
Linux Mint Debian Edition 4 or LMDE4 :
Install, reboot, add repositories, full upgrade = gets stuck at replacing crypto-something to the point it is useless as anything typed in a terminal will result in "wrong password provided 3 times, try again".
Fail!
-
Will try less "Nuclear" options later.

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

More
20 Mar 2022 23:39 - 27 Mar 2022 23:29 #237862 by tommylight

In that case, it would probably be best to install the nonfree version of testing by choosing an ISO from here:
cdimage.debian.org/cdimage/unofficial/no...ds/amd64/iso-hybrid/

I used xfce

and follow the instruction on debian to upgrade to unstable
wiki.debian.org/DebianUnstable

Well, this works! :)
It will download over 1400 packages, but works without a hitch.
I used the Mate version, i always use the mate version as it is the only DE that has configurable task panels, control freak so i need my dose of temps and speeds and voltages and loads and ... nevermind.
Even the installer located on the live desktop worked. Makes things simpler for new users.
Although, this is much simpler than compiling, it is "unstable" so if taking this route be ready to do reinstalls at random and without warning, so keeping backups of configs should be mandatory.
-
Thoughts? Ideas? Stones? Throw them my way! :)
Last edit: 27 Mar 2022 23:29 by tommylight. Reason: typo

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

More
21 Mar 2022 04:08 #237873 by rodw
I don't think unstable really means unreliable. It is and I quote,  the rolling development version containing the latest packages
There are other distros that run off this as standard.
There is also an experimental branch of debian.

just recapping, 

edit /etc/apt/sources.list so all it contains is
deb http://deb.debian.org/debian/ unstable main
deb-src http://deb.debian.org/debian/ unstable main

With a minimalist install, probably the smallest editor to  install is nano so it becomes
sudo nano apt install
sudo nano /etc/apt/sources list

replace the contents of this file with :
deb http://deb.debian.org/debian/ unstable main
deb-src http://deb.debian.org/debian/ unstable main
[/code]
Then
sudo apt update
sudo apt upgrade full

I really think diving into Linux mint is just making more work and trebles

 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.117 seconds
Powered by Kunena Forum