LinuxCNC on Debian 10 Buster quick and easy install

More
17 Apr 2020 18:24 - 05 Mar 2021 21:13 #164287 by tommylight

Please use the official release found here:
linuxcnc.org/downloads/
Use this tutorial only if you have issues with dirvers, be it WiFi or graphic or else, ..




This is the easiest way to get Linuxcnc working on Debian Buster:
--Download the non-free version of Debian as the free version has no proprietary drivers included and may result in non functioning hardware, from here
-
cdimage.debian.org/images/unofficial/non.../current-live/amd64/
-
----In case the above link does not work, change the number 4 in the address to 5, where the debian version is. So 10.4.0 becomes 10.5.0 or 10.6.0 etc. Only needed when a new version of Debian is released. Also do please notify us so we can fix the link.
-
--Choose BT if you have bittorrent client installed or iso-hybrid for normal download
--Write the downloaded ISO to a USB drive using DD in linux or win32imager in windows
--Boot from that USB, make sure the BIOS is set to boot from USB devices, if not repeatedly click on F9 or F11 or F12 as soon as you press the power switch, that should get you the choice of bootable devices, choose USB, not UEFI-USB, if at all possible.
--Let it boot too the desktop, click on "install debian" on the desktop.
--Reboot, remove the USB.
- Method 1:
Download the attachment, unzipping it to your Downloads folder, double click on "install.sh" and choose "run in terminal" . If that does not work then type these lines in terminal:
cd Downloads
sudo chmod +x install.sh
./install.sh
Press Y once when prompted and reboot when finished.
-
- Method 2:
-Open terminal and copy and paste one by one the following lines:
sudo apt-get update
sudo apt-get -y install gdebi software-properties-common wget linux-headers-4.19.0-9-common-rt linux-headers-4.19.0-9-rt linux-image-4.19.0-9-rt-amd64
wget http://http.us.debian.org/debian/pool/main/p/pygtksourceview/python-gtksourceview2_2.10.1-3_amd64.deb
sudo gdebi python-gtksourceview2_2.10.1-3_amd64.deb
sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-key EF1B07FEE0EE663E
-
sudo apt-add-repository 'http://buildbot.linuxcnc.org/ buster master-rtpreempt'
-OR, for 2.8 stable release, not both,
sudo apt-add-repository 'http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt'
-
sudo apt-get update
sudo apt-get -y install linuxcnc-uspace
-Reboot
-Enjoy

- For setting up using parallel port, click on "applications" menu on the upper left > cnc > Stepconf Wizard
- For setting up Mesa boards, click on "applications" menu on the upper left > cnc > Pncconf Wizard
Enjoy !

Additional info:
It seems the this Debian has issues with USB WIFI dongles with the Realtek hardware, so in case you see the wireless networks but it will not connect, open a terminal and paste this:
sudo ln -s /dev/null /etc/systemd/network/99-default.link
Attachments:
Last edit: 05 Mar 2021 21:13 by tommylight. Reason: updated link
The following user(s) said Thank You: phillc54, chimeno, Clive S, MrFouFou, mkardasi, Arpad, taloot, johnmc1, zack, CORBETT and 6 other people also said thanks.

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

More
18 Apr 2020 08:37 #164429 by bbsr_5a
Thanks you
is this image only for USB or can i burn it to DVD also
The following user(s) said Thank You: tommylight

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

More
18 Apr 2020 10:24 #164436 by BeagleBrainz
Debian images can either be burnt to DVD or dd'd to a USB drive
Good work Tommy
Do you have a link for python-gtksourceview2_2.10.1-3_amd64.deb ?
The following user(s) said Thank You: tommylight

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

More
18 Apr 2020 11:25 #164441 by tommylight

Thanks you
is this image only for USB or can i burn it to DVD also

Yes.

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

More
18 Apr 2020 11:26 #164442 by tommylight

Do you have a link for python-gtksourceview2_2.10.1-3_amd64.deb ?

It is the second link !
Forgot your glasses, or to much staring at monitors ? :)
The following user(s) said Thank You: BeagleBrainz

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

More
18 Apr 2020 11:57 #164444 by BeagleBrainz

Do you have a link for python-gtksourceview2_2.10.1-3_amd64.deb ?

It is the second link !
Forgot your glasses, or to much staring at monitors ? :)


Can't see shit without my specs on a computer screen any more.
Pain killers must be messing with my head.

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

More
18 Apr 2020 12:04 #164445 by tommylight

Can't see shit without my specs on a computer screen any more.

Same here. Getting old is no fun. And i had extremely good vision!

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

More
18 Apr 2020 12:48 #164452 by bbsr_5a
thank you
will this be the start of the new standard
as thinking of stretch renewed
or is it the same a sideway to go beside mint

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

More
18 Apr 2020 13:52 #164458 by tommylight
This is more to prove that getting Linuxcnc is simple and can be done in 20 to 30 minutes flat.
I read everything on this forum and i am getting tired of seeing new users being advised to compile Linuxcnc and kernels to make it work, also building "run in place" Linuxcnc ! Those are for developers and tinkerers and people who have some knowledge of inner workings of Linux and Linuxcnc.
New users want to have a running machine as fast as possible, not spend days compiling.
The following user(s) said Thank You: Mike_Eitel, phillc54, Clive S, CORBETT

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

More
18 Apr 2020 14:06 #164459 by tommylight
Edited original post to use official Debian Buster kernel.
Makes it even simpler to install.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum